Open WeiRU087 opened 1 year ago
I've exactly the same issue. Breakpoints 're only hit the first time I run the debugger.
I've exactly the same issue. Breakpoints 're only hit the first time I run the debugger.
Try adding
m_Session.Detach();
m_Session.Adaptor.Dispose();
after this line https://github.com/microsoft/vscode-mono-debug/blob/main/src/csharp/MonoDebugSession.cs#L447
The first attach is ok, and the subsequent attempts can not hit any breakpoints.
It looks like all right as the buttons all act as attached as below shown, but the callstack in the left of vscode is empty.
![image](https://user-images.githubusercontent.com/78401256/219617899-acdcb863-bd0e-4b5d-af9a-fa634e6e2628.png)
Maybe the disconnet operation is not set correctly ?