Bug 445582

Summary: Current debug position in a remote file
Product: [Applications] kdevelop Reporter: kinta <aleixq>
Component: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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