-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Labels
DebuggerfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.
Milestone
Description
Notes
I believe this issue will be automatically resolved when we stop using MIEngine for these scenarios. But opening this issue to verify the behavior.
Steps to reproduce
- Create a hello world .NET Core application (
dotnet new) - Open the folder in VS Code and start debugging
Expected behavior
Debugger shouldn't give warning sounding string ('Cannot find or open the symbol file') for files that are system assemblies, and therefore we are never going to debug anyway. Ex: in VS we print 'Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.':
'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Private.CoreLib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'c:\proj\clicon\bin\Debug\netcoreapp1.0\clicon.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\mscorlib.dll'. Loading disabled by Include/Exclude setting.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Actual behavior
Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Private.CoreLib.ni.dll'. Cannot find or open the symbol file.
Loaded 'd:\proj\clicon\bin\Debug\netcoreapp1.0\clicon.dll'. Symbols loaded.
Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Runtime.dll'. Cannot find or open the symbol file.
Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\mscorlib.dll'. Cannot find or open the symbol file.
Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0\System.Console.dll'. Cannot find or open the symbol file.
thezim, andrius-k, tamj0rd2, mcquiggd and Kurtz1993
Metadata
Metadata
Assignees
Labels
DebuggerfixedFixed and available in the stable version of C# Extension.Fixed and available in the stable version of C# Extension.