File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -57,4 +57,13 @@ export class MI2_LLDB extends MI2 {
5757 setBreakPointCondition ( bkptNum , condition ) : Thenable < any > {
5858 return this . sendCommand ( "break-condition " + bkptNum + " \"" + escape ( condition ) + "\" 1" ) ;
5959 }
60+
61+ goto ( filename : string , line : number ) : Thenable < Boolean > {
62+ return new Promise ( ( resolve , reject ) => {
63+ const target : string = ( filename ? filename + ":" : "" ) + line ;
64+ this . sendCliCommand ( "jump " + target ) . then ( ( ) => {
65+ resolve ( true ) ;
66+ } , reject ) ;
67+ } ) ;
68+ }
6069}
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export interface AttachRequestArguments extends DebugProtocol.AttachRequestArgum
3333
3434class LLDBDebugSession extends MI2DebugSession {
3535 protected initializeRequest ( response : DebugProtocol . InitializeResponse , args : DebugProtocol . InitializeRequestArguments ) : void {
36+ response . body . supportsGotoTargetsRequest = true ;
3637 response . body . supportsHitConditionalBreakpoints = true ;
3738 response . body . supportsConfigurationDoneRequest = true ;
3839 response . body . supportsConditionalBreakpoints = true ;
You can’t perform that action at this time.
0 commit comments