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
In the debugger, there is no way to move the execution pointer to another statement, all you can do is step around, run to cursor, continue, etc. This is a feature supported by other Unity debuggers including Visual Studio, and Rider, but seems to be disabled or not supported for VSCode. This is a dealbreaker feature for many developers as it eliminates an absolutely crucial debugging strategy that is already available in other Unity debuggers and IDEs.
Current Behavior:
Enter debugger at breakpoint, attempt to move the execution pointer from the current line to a previous line by dragging the yellow arrow does not work and there is no right click menu option to do so either. Note that right click does contain a "Run To Cursor" item, which is not the same as "Jump To Cursor" or "Set Next Statement" which would immediately move the execution point to the desired line within the current stack without running any code.
Expected Behavior
In the debugger one can move the execution pointer to a previous line within the same scope by either dragging the arrow or a right mouse button menu option
Alternatives considered
There is no alternative to this missing crucial feature, so until then I am forced to use Rider or Visual Studio which supports this.
colinday
changed the title
[SUGGESTION] Debugger Jump/Set Next Statement (Dealbreaker Feature)
[SUGGESTION] Unity Debugger Jump/Set Next Statement
Feb 9, 2025
Describe the feature you'd like
In the debugger, there is no way to move the execution pointer to another statement, all you can do is step around, run to cursor, continue, etc. This is a feature supported by other Unity debuggers including Visual Studio, and Rider, but seems to be disabled or not supported for VSCode. This is a dealbreaker feature for many developers as it eliminates an absolutely crucial debugging strategy that is already available in other Unity debuggers and IDEs.
Current Behavior:
Enter debugger at breakpoint, attempt to move the execution pointer from the current line to a previous line by dragging the yellow arrow does not work and there is no right click menu option to do so either. Note that right click does contain a "Run To Cursor" item, which is not the same as "Jump To Cursor" or "Set Next Statement" which would immediately move the execution point to the desired line within the current stack without running any code.
Expected Behavior
In the debugger one can move the execution pointer to a previous line within the same scope by either dragging the arrow or a right mouse button menu option
Alternatives considered
There is no alternative to this missing crucial feature, so until then I am forced to use Rider or Visual Studio which supports this.
Environment Information
Extension Version: v1.0.5 - December 3, 2024
VSCode Version: 1.97.0
Unity Version: 2022.3.7f1
The text was updated successfully, but these errors were encountered: