Here is sample code for repro: https://gist.github.com/DavidKarlas/41f91681ae730e0fbb363495d2f59b1a
Here is log file of bug: https://gist.github.com/DavidKarlas/dee4a2616689f9d36adc6474e5938461
Inside VSfM place breakpoint at https://gist.github.com/DavidKarlas/41f91681ae730e0fbb363495d2f59b1a#file-gistfile1-txt-L20 and start debugging, breakpoint will be hit, then resume execution... What will happen is... IDE will be in weird state where you can resume execution but can't see call stack or evaluate values... This is because runtime returned 0 frames for 2nd thread.
What happens here is this... If 2 breakpoints are hit on 2 threads at "same time" as seen at https://gist.github.com/DavidKarlas/dee4a2616689f9d36adc6474e5938461#file-gistfile1-txt-L579-L580 IDE evaluate state of 1st thread and when user requests Resume, IDE sends resume, but runtime is still in suspended state, because more breakpoints are pending(resume was for 1st breakpoint). And after that IDE request CMD_THREAD_GET_FRAME_INFO for 2nd thread(0x7000054c7000), so it can display call stack and evaluate variables... This can be seen at https://gist.github.com/DavidKarlas/dee4a2616689f9d36adc6474e5938461#file-gistfile1-txt-L734-L735 but 0 frames are returned, this is wrong... It should return frames like it did for 1st thread(both have roughly same call stack).
Zoltan, any update on this?
What seems to happen is that hitting the second breakpoint causes the first thread which hit the breakpoint to be interrupted, and the interrupt handler overwrites the stacktrace.
PR was merged