Vs code c # omnisharp how can i debug an external library

I am trying to execute my ASP core networking library code in visual studio code and have no idea how to basically disable "just my code" and attach pdbs.

By default, the stack that checks the behavior of the omnisharp while hitting a breakpoint:

MyNamespace.MyCLass.function()    
[External Code] (\Unknown Source:0)

      

How can I debug external library code?

+3


source to share


1 answer


It seems to me that I needed to edit the workspace file vs code launch.json

according to:

https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md section with "justMyCode":false

, "requireExactSource": false

and"symbolPath": [ "/Volumes/symbols" ]



Now the problem is with symbols. Unable to seam to find basic .net symbols for public asp net mvc releases. I'll have to manually compile https://github.com/aspnet/Mvc and any other middleware I'm interested in.

0


source







All Articles