-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line breakpoint did not work in vscode with netcoreapp3.0 #12
Comments
@itn3000 Thank you for the detailed report!
Also please enable debugger logs like this and attach them to this issue:
(log files are created in |
Thank you for replying, I made debug logs. |
After my investigating, I found I misunderstood the point at issue. It is not depended on netfm, but on filename case. I replaced following point to netcoredbg/src/debug/netcoredbg/SymbolReader.cs Lines 257 to 259 in 4d5e6d7
|
@itn3000 Wow, that's really great that you found a solution! Would you be so kind to create a pull request with the fix? |
I created PR as #16, please review it. |
ignore case sensitivity in sourcefile mapping(#12)
I still encounter issues with non-working breakpoints. The application is a ASP MVC (WebApi) app. Setting breakpoints using vsdbg work as expected. Edit: The same is the case for the default console app template. EnvironmentVisual Code: 1.49.2 Steps to reproduceThe same as OP. Including the debug launch config. OutputUnfortunately I don't really know where to start looking to help troubleshoot the issue further. So any guidance is appreciated. Thank you! |
@smotti I updated netcoredbg sources, could you please check it? |
Overview
I tried to use netcoredbg as vscode's debugger with dotnet sdk-3.0pre3.
I set breakpoint, but vscode did not stop at the breakpoint.
Environment
Steps to reproduce
dotnet new console
TargetFramework
tonetcoreapp3.0
dotnet build
Console.WriteLine
launch.json setting is following;
(fix "program" to point "netcoreapp3.0" directory)
Expected Result
stop on
Console.WriteLine
and variables are displayed.Actual Result
program exited with code 0.
Notes
TargetFramwork
==netcoreapp2.1
andnetcoreapp2.2
, breakpoint worked expectedlyThe text was updated successfully, but these errors were encountered: