Omnisharp-vscode: VS Code extension: Add support for Function Breakpoints

Created on 10 May 2016  ·  7Comments  ·  Source: OmniSharp/omnisharp-vscode

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

Debugger Feature Request Resolved-Fixed

All 7 comments

I opened #296 to track the lack of warning. We can use this to track the feature request for function breakpoint support.

:+1: wfm

Any updates on this functionality? I'm curious and might try my hand at it. How difficult would it be to implement this functionality as a first time contributor?

@loligans [Sorry for the delay, I am returning from parental leave] the debug adapter used by this extension isn't open source, and this feature can't really be implemented outside of it. So this can only be implemented by a Microsoft engineer.

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.

Thanks @WardenGnaw and @gregg-miskelly❕

Was this page helpful?
0 / 5 - 0 ratings