Bug 445582 - Current debug position in a remote file
Summary: Current debug position in a remote file
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-16 12:44 UTC by kinta
Modified: 2021-11-16 12:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kinta 2021-11-16 12:44:44 UTC
SUMMARY
Trying to use xdebug in a remote file (using  (sftp)), everything runs fine hacking the .kdev4 mappings a little, but is impossible to see the current position line. 
I suppose that it is this conditional that makes it impossible, as the file is not local:
https://invent.kde.org/kdevelop/kdevelop/-/blob/master/kdevplatform/debugger/interfaces/idebugsession.cpp#L88


STEPS TO REPRODUCE
1. edit a remote file (sftp) for example.
2. map it correctly
3. start debugging.

OBSERVED RESULT
Current position cannot be seen in editor but is ok in frame stack

EXPECTED RESULT
View current line 


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics

ADDITIONAL INFORMATION