How to disable `just my code` debugging in vscode omnisharp ?
See original GitHub issueThanks for this nice debugging experience.
Environment data
dotnet --info
output:
.NET Command Line Tools (2.0.3)
Product Information:
Version: 2.0.3
Commit SHA-1 hash: eb1d5ee318
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
Base Path: /usr/share/dotnet/sdk/2.0.3/
Microsoft .NET Core Shared Framework Host
Version : 2.0.7
Build : 2d61d0b043915bc948ebf98836fefe9ba942be11
VS Code version: 1.22.1 C# Extension version: Not sure how to find it. Please add instructions in template.
Steps to reproduce
Debug any app and you will find :
Skipped loading symbols. Module is optimized and the debugger option 'Just My Code
is enabled`.
Expected behavior
I want to configure to load symbols for libraries as well.
Actual behavior
Not able to load symbols for : Skipped loading symbols. Module is optimized and the debugger option 'Just My Code
is enabled`.
Use Case
We ship SDK to user for creating apps. To debug the code in libraries, we need to load symbols for our assemblies.
Also, please give instructions on how to use Debugger Console
to load symbols and set multiple symbols paths for effective debugging.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to disable "just my code" setting in VSCode debugger?
Then I found out: If you are in the "Run and Debug (SHIFT+CMD+D)"-tab and select your configuration there and click the green triangle...
Read more >Enabling C# and .NET Core Debugging in VS Code from an ...
Getting up and running with editing and debugging C# code is usually as simply as installing the csharp extension from within VS Code....
Read more >C# programming with Visual Studio Code
VS Code supports debugging of C# applications running on either .NET or Mono. For detailed instructions on: .NET debugging - see the Microsoft...
Read more >PSA: If your VS Code C# extension stopped working...
If you opened VS Code today and your Unity Debugger wasn't working or it ... I just tried updating to the latest debugger,...
Read more >omnisharp-vscode - Discover .NET
If you still need Unity or .NET Framework support, you can set omnisharp.useModernNet to false in your VS Code settings and restart OmniSharp....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ashishnegi these settings are controlled through launch.json options. See https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md for documentation. The options you will likely want to configure:
justMyCode
,suppressJITOptimizations
andsymbolOptions
.@AlissonRS In launch.json, you want:
If you are trying to figure out module/symbol load issues, be sure to turn it back on.