Skip to content

Break on exception in Java for “just my code” #756

Description

Environment
  • Operating System: Win10
  • JDK version:
  • Visual Studio Code version: 1.41.1
  • Java extension version: 0.55.1
  • Java Debugger extension version: 0.24.0
Question

How can I configure VS Code to only break on an exception in "just my code"? I've messed around w/ the Uncaught Exceptions & Caught Exceptions but they are not scoped to my code.

Additional Notes

We've added support for exception configuration to the debug protocol (microsoft/vscode-debugadapter-node#64). Source

Something like Visual Studio -> Enable or disable Just My Code.

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions