You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior (pre-update):
You are allowed to select which file to run again, or if the current file has a main method, it is ran instead.
We tuned the run behavior in latest debugger version. If the current file has a main method, it still ran directly. However, if it does not have a main method, then the last run of the main class will be automatically selected. this is by design.
Activity
testforstephen commentedon Mar 6, 2023
@GregoryLi360 Could you share a sample project (including launch.json if it exists) to help us reproduce the issue?
GregoryLi360 commentedon Mar 6, 2023
@testforstephen Just having 2 java files with main methods and a third java file without a main method can recreate the issue.
testforstephen commentedon Mar 7, 2023
We tuned the run behavior in latest debugger version. If the current file has a main method, it still ran directly. However, if it does not have a main method, then the last run of the main class will be automatically selected. this is by design.
GregoryLi360 commentedon Mar 7, 2023
Sad :( wish there was an option to turn it back