Skip to content

VS Code breakpoint problems #60

@mjrgh

Description

@mjrgh

I'm embedding ChakraCore and ChakraCore-Debug, and I'm running into a weird problem with VS Code. There are some similar issues reported on StackOverflow for VS Code with a Node debuggee, so it might be some generic problem on the VS Code side, but those threads all think that problem is in Node, so maybe there's a parallel bug in CC-D.

  • Launch a CC/CC-D debuggee from VS Code
  • Pause in the debugger, anywhere in the Javascript code
  • Set a breakpoint on a source line that doesn't have executable code
  • The breakpoint will appear correctly on the next line with executable code
  • Click on that same no-code line again to clear the breakpoint
    ** Problem: The breakpoint isn't cleared. VS Code now thinks it has two breakpoints on the nearby code line.
  • Click a third time on the no-code line to try clearing the breakpoint again
    ** Problem: The debuggee terminates abruptly

The abrupt termination seems to be coming from the VS Code side - if you look at the debuggee under the native code debugger, it doesn't appear to be crashing with an exception. But something's clearly in a bad state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions