Open borjamunozf opened 1 month ago
Ok, I was able to connect to the running PID of OpenDebugAD7. However, I think the pauseForDebugger option is not really clear...
Steps:
{
"configurations": [
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"logging": {
"diagnosticsLog": {"debugEngineAPITracing": "all", "debugRuntimeEventTracing": true, "startDebuggingTracing": true}
},
"justMyCode": false,
"symbolOptions": {
"searchPaths": [
"/home/borjamf/MIEngine/bin/Debug/vscode/linux-x64/"
],
"searchMicrosoftSymbolServer": false,
"searchNuGetOrgSymbolServer": false
}
},
Hello.
I'm trying to debug the OpenDebugAD7.exe following the documentation available to gather more information about this extremely annoying performance issue reported in c++ tools extension
However, the attach it's failing when running this with Dotnet extension. I also tried running a GDB with target remote to see if it's able to connect.
Config:
Tested with different ports with same result.
Environment:
How I built:
The thing case is that if I run without --pauseForDebugger, it seems that the port it's accesible and even got connection with GDB.
Shouldn't start listening at least and wating for debugger in the port? Or I have misunderstood it?
Related, if I try to attach using the coreclr + OpenDebugAD7 --server --pauseForDebugger, it crashes:
Could you guide me how to be able to debug this? Thanks.