Added function breakpoints (fix #45)
This commit is contained in:
parent
4cbb822d39
commit
50fb4798b7
7 changed files with 71 additions and 23 deletions
|
|
@ -24,8 +24,9 @@ export interface AttachRequestArguments {
|
|||
class LLDBDebugSession extends MI2DebugSession {
|
||||
protected initializeRequest(response: DebugProtocol.InitializeResponse, args: DebugProtocol.InitializeRequestArguments): void {
|
||||
response.body.supportsConfigurationDoneRequest = true;
|
||||
response.body.supportsEvaluateForHovers = true; // Assume working in future releases
|
||||
response.body.supportsFunctionBreakpoints = true; // TODO: Implement in future release
|
||||
response.body.supportsConditionalBreakpoints = true;
|
||||
response.body.supportsFunctionBreakpoints = true;
|
||||
response.body.supportsEvaluateForHovers = true;
|
||||
this.sendResponse(response);
|
||||
this.miDebugger = new MI2_LLDB("lldb-mi", []);
|
||||
this.initDebugger();
|
||||
|
|
@ -38,6 +39,7 @@ class LLDBDebugSession extends MI2DebugSession {
|
|||
this.isSSH = false;
|
||||
this.started = false;
|
||||
this.crashed = false;
|
||||
this.debugReady = false;
|
||||
this.miDebugger.printCalls = !!args.printCalls;
|
||||
if (args.ssh !== undefined) {
|
||||
if (args.ssh.forwardX11 === undefined)
|
||||
|
|
@ -93,6 +95,7 @@ class LLDBDebugSession extends MI2DebugSession {
|
|||
this.attached = true;
|
||||
this.needContinue = true;
|
||||
this.isSSH = false;
|
||||
this.debugReady = false;
|
||||
this.miDebugger.printCalls = !!args.printCalls;
|
||||
this.miDebugger.attach(args.cwd, args.executable, args.target).then(() => {
|
||||
if (args.autorun)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue