question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set next line in debugger

See original GitHub issue

Environment data

dotnet --info output: VS Code version: C# Extension version:

are there any plan to implement similar feature outlined here: https://github.com/Microsoft/vscode-cpptools/issues/1025

without such feature it makes little sense to stay in VS Code on windows but rather go straight to full blown Visual Studio.

Thanks in advance

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
gregg-miskellycommented, Sep 18, 2017

@kostyamy You can achieve a “poor man’s” version of the raw text visualizer with the “,nq” format specifier.

Example:

  1. Go to the debug console.
  2. Evaluate ‘exampleVariable’
  3. Result: "Hello\nWorld"
  4. Evaluate ‘exampleVariable,nq’
  5. Result:
Hello
World
1reaction
kostyamycommented, Sep 13, 2017

Thank you Gregg for responding. Perhaps you have misunderstood me but I never implied that anyone is trying to convince me to switch back to VS. I use both on daily basis. Been working with MS build tools and IDEs since 89 and still convinced at this time VS is the best IDE out there. However in highly diverse dev team i have to make an attempt to stay somewhat on the same page with our non-ms developers - guys who works on client side and mostly use MAC (i’m sure you that kind -ms haters for no reason). So having unified tools set would definitely help overall moral…

Another good feature to have would be variable inspector similar to VS so i can extract/replace variable name with pre-formatted value. for example sqlCommand.ConnextText reveals text value without “\r\n” but as actual “printed” text so i can copy/paste into SQL Management tool to debug resulted query.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome debugger - how to go to next line without entring in ...
I want to let f1 execute but I don't want to go over it. I assume you don't want to prevent Chrome from...
Read more >
Jump to Any Line While Debugging | The IntelliJ IDEA Blog
There are many ways to set a target execution line during debugging. You can use breakpoints, or step to the line using the...
Read more >
Navigate through code by using the Visual Studio debugger
To set a simple breakpoint in your code, select the far-left margin next to the line of code where you want to suspend...
Read more >
set disassemble-next-line command - VisualGDB
set disassemble-next-line command. Controls whether GDB should show the disassembly of the next line each time it stops at a breakpoint or after...
Read more >
Support "set-next-statement" with cppdbg · Issue #1025 - GitHub
Run the following command in the Debugger Console panel: -exec jump <line> where line is the line number in the source code. 6...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found