I have used Visual Studio 2008 to 2017, all having this feature as shown below:
The yellow arrow(debug pointer) which can be used to manipulate executing line(or execution flow) while debugging, thus allowing the user to move the arrow simply by using mouse.
In Visual Studio Code, the arrow is there to show the executing line as shown below:
But it(debug pointer) can't be manipulated or moved using mouse, to change the executing line(or execution flow) while debugging.
Is there any setting which has to be changed in Visual Studio Code to enable this feature?
With the debugger paused on a line of code, use the mouse to grab the yellow arrow pointer on the left. Move the yellow arrow pointer to a different point in the code execution path. Then you use F5 or a step command to continue running the app.
To set Visual Studio debugger options, select Tools > Options, and under Debugging select or deselect the boxes next to the General options. You can restore all default settings with Tools > Import and Export Settings > Reset all settings.
Once you have your launch configuration set, start your debug session with F5. Alternatively, you can run your configuration through the Command Palette (Ctrl+Shift+P) by filtering on Debug: Select and Start Debugging or typing 'debug ' and selecting the configuration you want to debug.
Right click on the line you want to run in the start position, and "jump to cursor".
You are looking for Set Next Statement
option, which is not yet available.
Please follow this Git Issue for latest.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With