-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call Stack window doesn't scroll to the active thread when a breakpoint is hit #68277
Comments
(Experimental duplicate detection) |
This is not a duplicate of the 2 issues mentioned by the bot. |
I get the similar behavior debugging using PowerShell extension. I see the This occurs for most but not every launch configuration. For simple |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines. Happy Coding! |
@weinand We don't do anything to signal that the frames are different. Is there something we should be sending in the protocol that we are not? In Sean's original post those frames just have unknown source but i didn't think we were sending anything special for it. |
Also based on this comment should the pointer be on the first available frame in the stack with it marked in green? |
The first three frames are dimmed because they have no source. So it's probably not the DA that sends frames with the deemphasized hint. @pieandcakes No, no you don't need to send anything special here. Yes, if the first frame with source available is not the top frame, the pointer and the highlight should be green. @isidorn when fixing #68616 please make sure that this works correctly. |
@isidorn If this fix goes into Insiders, I can test our C++ scenario for you if you want. |
@sean-mcmanus can you please verify this works correctly with latest vscode insiders? |
@isidorn The call stack is broken. It randomly won't scroll to the correct call stack, even when stepping or hitting breakpoints. For many cases it fails 100% of the time. Stepping is the main random case (50% failure?). I'm not able to observe any fixed behavior. I'm using: Version: 1.32.0-insider (user setup) |
Thanks for letting us know. For this we would aslo need the revealTo API which is probably coming for #68627 |
@sean-mcmanus I can not reproduce this using the example in #68648 When this happens do you see some errors in F1 > developer tools > console |
It is alwas great when we have all the data in the issue, so no need for seperate emails. |
@sean-mcmanus thanks for looking into this. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
I have same issue on Linux. |
@joaomoreno here's another case of data tree node not found. Where I try to reveal something which is not known to the tree. So I suggest that we first fix that and then double check if this got fixed |
@sean-mcmanus this should be fixed now. Can you please try it starting from Friday's vscode insiders. If you still see it let us know and we will reopen. |
Verified because the probably duplicate is verified? |
Yeah duplicate, removing bug label |
Steps to Reproduce:
Bug: The call stack windows doesn't scroll to the thread that is active (paused on a breakpoint). Stepping causes some buggy scroll to occur, but it still doesn't scroll to the correct call stack. This makes it difficult to locate which thread call stack I'm currently debugging.
Does this issue occur when all extensions are disabled?: Yes, but needs the C/C++ extension to debug.
The text was updated successfully, but these errors were encountered: