farre / midas

A GDB/MI Visual Studio Code Debug Adapter
MIT License
30 stars 1 forks source link

Fixes bug that happens in some parallell scenarios #114

Closed theIDinside closed 2 years ago

theIDinside commented 2 years ago

I think it's because the wrong frame is interpreted by the wrong thread but not entirely sure.

We do the naive thing, and just rebuild the stack trace / stack frame stack. It shouldn't be all that expensive anyhow, seeing as how most of it is probably cached by gdb.