File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
## Fixed
3
3
* Fixes #346 - Case-sensitivity not respected in SSH path mapping - PR #352 (@brownts )
4
4
* Fixes #342 - Local variables not displayed more than 2 stack frames deep - PR #345 (@brownts )
5
+ * Fixes #332 - "go to cursor location" does not work with ssh sourceFileMap (after @brownts )
5
6
6
7
[ Unreleased ] : https://github.com/WebFreak001/code-debug/compare/v0.26.0...HEAD
7
8
Original file line number Diff line number Diff line change @@ -708,7 +708,8 @@ export class MI2DebugSession extends DebugSession {
708
708
}
709
709
710
710
protected gotoTargetsRequest ( response : DebugProtocol . GotoTargetsResponse , args : DebugProtocol . GotoTargetsArguments ) : void {
711
- this . miDebugger . goto ( args . source . path , args . line ) . then ( done => {
711
+ const path : string = this . isSSH ? this . sourceFileMap . toRemotePath ( args . source . path ) : args . source . path ;
712
+ + this . miDebugger . goto ( path , args . line ) . then ( done => {
712
713
response . body = {
713
714
targets : [ {
714
715
id : 1 ,
You can’t perform that action at this time.
0 commit comments