Skip to content
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

2.56 version of protocol is unable to enumerate frames properly while active evaluation #358

Open
eterekhin opened this issue Mar 25, 2022 · 1 comment

Comments

@eterekhin
Copy link

Hi!

I've discovered that the 2.56 version of the protocol (the newest version for now) has a degradation.
When we start an evaluation from Immediate window we expect that Debugger.Break() will be processed correctly, but thread.GetFrames () is seemed to return the wrong frames when we are stopped on UserBreakEvent. It stopped working between 2.51 and 2.56 versions.

I was able to build a stable repro in my fork, tested on Windows. Just add a breakpoint to the end of Program.TopFrameCheck method in the Driver project and launch it. The topFrameName differs from Program.EvaluationWithUserBreakInside for 2.56 protocol version, but works correctly for 2.51 (you can change Connection.MINOR_VERSION to 2.51 to check that).

Here is what happens on my windows environment:
image

@eterekhin eterekhin changed the title 2.56 version of protocol is unable to enumerate frames property while active evaluation 2.56 version of protocol is unable to enumerate frames properly while active evaluation Mar 25, 2022
@eterekhin
Copy link
Author

@thaystg, Hi! Sorry for the direct mention, but it may be a mono runtime issue, could you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant