Usually while debugging C++ code in Microsoft Visual Studio 2015 I find the "Set Next Statement" very useful. Wanted to check if something similar to "Set Next Statement" is also available in Visual Studio code debugger while debugging a Node js application where I can change the statement where I want my next execution to begin during debugging.
相关问题
- Extended message for commit via Visual Studio Code
- Where are Automatic Type Acquisition typescript de
- Typescript: Why doesn't visual studio code rep
- .NET Core 3.1 CreateHostBuilder Cannot parse JSON
- How to get VS Code debug data like breakpoints, st
相关文章
- Visual Studio Code, MAC OS X, OmniSharp server is
- Omnisharp in VS Code produces a lot of warnings ab
- Visual Studio Code command for “repeat last comman
- VSCode remove warnings from problems tab
- Configure a TypeScript project with common depende
- Visual Studio Code disabling Normal, Edit and Visu
- Vscode: error TS2307: Cannot find module 'vsco
- How to customize context menu in Visual Studio Cod
Actually, with VSCode v1.47, June 2020, following issue 92585,
See commit fb28ced.
Yes, this feature is available under the name "Jump to Cursor":
https://code.visualstudio.com/updates/v1_36#_jump-to-cursor
It will become available as an "Set next statement" alias:
https://github.com/microsoft/vscode-python/issues/9947#issuecomment-610631969
As of now,This is a much-requested feature,
and some work with that aim has been done already:
But the feature is not available yet in VS Code.
Install the vsc extension of the link below.
https://marketplace.visualstudio.com/items?itemName=ntoskrnl7.cxx-set-next-statement-extension
It works well in cppvsdbg (vscode-cpptools -OpenDebugAD7).
However, GDB requires the following VSC extension to be installed. https://github.com/ntoskrnl7/code-debug/tree/support_gdb_goto_request
enjoy :)