Debugger Implement Help about mono expression evaluation behavior #95672
Unanswered
AlexeiNaabal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background:
When we debugging mono programs under the environment above, we encounter a wired expression evaluation behavior.
For short, when breakpoint hit, we try to hover over arithmetic expression like "++i", this kind of inspection increment the value of "i" each time we hover over the expression, causing some trouble because the value is not as expected when runtime continue.
I had asked somewhere else but thinking here might be the best place to ask, thus I start this Q&A. Added the previous post here (from reddit)
I need some help about handling such behavior, I see 2 options here,
1 is go into mono's debug component and try to fix it, but I am not sure if it is able to be solved, but it won't be issue anymore once solved.
2 is prevent such behavior in Debugger side. Seems the only way if this behavior is because the nature of expression evaluation.
Beta Was this translation helpful? Give feedback.
All reactions