Comments (7)
@itn3000 Thank you for the detailed report!
I was not able to reproduce this issue right away (I don't have win8 machine, but on win10 everything worked ok).
Could you please enable engine logging and post the output?
...
"internalConsoleOptions": "openOnSessionStart",
"logging": {
"engineLogging": true
},
"pipeTransport": {
...
Also please enable debugger logs like this and attach them to this issue:
"debuggerPath": "g:/bin/netcoredbg/netcoredbg.exe --log=file"
(log files are created in TEMP
folder, you can list them in PowerShell with ls $env:temp\netcore*
)
from netcoredbg.
Thank you for replying, I made debug logs.
"netcoredbg-vscode-debugconsole.txt" is text from vscode's debug console.
netcoredbg-logs.zip
from netcoredbg.
After my investigating, I found I misunderstood the point at issue.
It is not depended on netfm, but on filename case.
In windows, drive letter of filename in pdb is large case when build with dotnet build
,
but small case when specified project path with small case(like dotnet build c:\path\to\csproj
).
This causes the filename unmatch in ResolveSequencePoint
.
I replaced following point to x.Equals(y, StringComparison.OrdinalIgnoreCase)
, and found debugging works expectedly.
netcoredbg/src/debug/netcoredbg/SymbolReader.cs
Lines 257 to 259 in 4d5e6d7
from netcoredbg.
@itn3000 Wow, that's really great that you found a solution! Would you be so kind to create a pull request with the fix?
from netcoredbg.
I created PR as #16, please review it.
from netcoredbg.
I still encounter issues with non-working breakpoints. The application is a ASP MVC (WebApi) app. Setting breakpoints using vsdbg work as expected.
Also setExceptionsBreakpoints
fails, and I don't know why.
Edit: The same is the case for the default console app template.
Environment
Visual Code: 1.49.2
C# Extension: 1.23.2
Omnisharp: 1.37.1
netcoredbg: latest release build (Aug 20)
dotnet core sdk: 3.1.402
OS: Windows_NT x64 10.0.14393 (Windows Server 2016 Datacenter)
Steps to reproduce
The same as OP. Including the debug launch config.
Output
Unfortunately I don't really know where to start looking to help troubleshoot the issue further. So any guidance is appreciated.
Thank you!
from netcoredbg.
@smotti I updated netcoredbg sources, could you please check it?
If issue still here, please, open new issue instead.
from netcoredbg.
Related Issues (20)
- Missing libstdc++ version on Debian Buster (and presumably others) HOT 1
- [Bug] Any method call on a enum gives `error: 0x80004005` HOT 3
- M1 ARM Support? HOT 8
- [Bug] Missing field from Scopes response HOT 7
- 'terminated by signal SIGSEGV (Address boundary error)' while running on mac HOT 5
- [Suggestion] Create a global tool HOT 1
- F# ? HOT 1
- Debugging embedded assemblies HOT 2
- "next" cli command causes remainder of program to execute in async method that returns Task<TResult> HOT 7
- Failed command 'configurationDone':0x80131c3c HOT 11
- Build Issues - src/debugger/frames.cpp - third_party/catch2/catch.hpp - CMakeLists.txt:CLR6.0(ok?) HOT 8
- Debugger stopping on exceptions HOT 25
- Error: 0x80070005: Access is denied. HOT 12
- Debugging a dll being loaded by another application. HOT 18
- Debugging simple console app on windows.... HOT 22
- Building the code for Visual Studio 17 2022 HOT 2
- Building the source code: Missing an argument for parameter 'Architecture'. HOT 8
- Async stepper: does not step over from the last line of task. HOT 2
- Failed command 'configurationDone' : 0x80131c3c HOT 6
- How to debug .NET unit test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netcoredbg.