| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thomas Mäder (@tsmaeder) I wrote a simple program to test it, but got error: public class HelloWorld {
public static void main(String[] args) {
System.out.println("Starting application...");
String message = "Hello, World!";
System.out.println(message); // Set a breakpoint here
for (int i = 0; i < 3; i++) {
System.out.println("Count: " + i);
}
System.out.println("Application finished.");
}
}Error: Also please fix CI errors. |
Sorry, something went wrong.
|
Changyong Gong (@chagong) how are you testing? I have a very similar program which works fine for me. Also, this PR does not contain changes that could cause a problem with the delegate command handler, IMO. Here's what I do:
|
Sorry, something went wrong.
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
|
Thomas Mäder (@tsmaeder) probably the problem of my setup, it works after I relaunch vscode and F5. The PR is good to go after your fix the format errors. |
Sorry, something went wrong.
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
|
Changyong Gong (@chagong) running checkstyle:check locally spews out messages about <cr><lf> not being allowed for every file. However, that line ending is just an artifact of checking out the repo on Windows. |
Sorry, something went wrong.
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
|
Changyong Gong (@chagong) is there anything (beyond a rebase) that I could do to move this forward? |
Sorry, something went wrong.
|
Hi Thomas Mäder (@tsmaeder), can you check if the fix to microsoft/vscode-java-debug#722 has already supported the suspend policy setting? |
Sorry, something went wrong.
|
Changyong Gong (@chagong) no, this PR allows to set the suspend mode per breakpoint, the other PR just introduces a global flag. |
Sorry, something went wrong.
|
Thomas Mäder (@tsmaeder) we make it a global flag because vscode doesn't have UI option to set breakpoint property. Are you doing this for cursor? |
Sorry, something went wrong.
Chagon VS Code does have UI for this, but you have to enable the modes in the debug adapter (what this PR does) in order to see it. See description. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #608
Note that this PR contains code for handling source breakpoints and exception breakpoints. But in fact, VS Code Java only properly handles source and instruction breakpoints. I've left the code in there, since it's not completely trivial and it should not affect the behavior if no suspend mode is sent when setting the exception breakpoints.
How to Test