Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

VS Code breakpoint problems #60

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions