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.

VS Code extension: Add support for Function Breakpoints

See original GitHub issue

The VS Code “function breakpoints” feature does not seem to work when using the OmniSharp-based C# extension (v1.0.5-rc2). Or, if the feature works, the obvious syntax doesn’t. This might be a fine feature gap except the failure is silent – no warning is shown that the enabled breakpoint is invalid. For example none of the Main breakpoints are hit with the setup below. Same thing goes for non-static methods. main

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
azydevelopmentcommented, May 21, 2020

I just ran into this issue. Super annoying if I want to break on a function that isn’t my own as well like you can in WinDbg.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Use breakpoints in the Visual Studio debugger - Microsoft Learn
You can also right-click in the far left margin next to a line of code and select Insert Conditional Breakpoint from the context...
Read more >
Is it possible to programmatically set breakpoints with a Visual ...
Is it possible to programmatically set breakpoints with a Visual Studio Code extension · I don't think you're off base, but what you're...
Read more >
Error Debugging in C++ with VS Code - Rollbar
A breakpoint can be added in VS Code either by clicking in the left column of the text editor window or by pressing...
Read more >
How to Use Breakpoints in VS Code - Alphr
You can add hit counts and conditions when creating source breakpoints with your “Add Conditional Breakpoint” option. Alternatively, these ...
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