Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBreak on exception in Java for “just my code” #756
Comments
|
@spottedmahn Thanks for reaching out. Unfortunately, the debugger does not support the exact feature you requested. However, it does support something similar. Please check out the |
|
I also see "Just My Code" a nice improvement for the debugger. Let's track it in longer-term @testforstephen |
|
Thanks @akaroml for the reply!
That helped but I'm still left w/ a lot of undesired breaks due to Unknown source and
|
I agree that Just My Code will improve the experience. But it's not an easy piece and we'll plan it in longer term. |
|
In the new 0.27.0, when you want to break on exception for "Just My Code", you can add the following settings for that.
|
|
thanks @testforstephen! |
Environment
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
Something like Visual Studio -> Enable or disable Just My Code.