-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Cannot step over Debugger.Break() in m3 lldb #108541
Labels
Milestone
Comments
dotnet-policy-service
bot
added
the
untriaged
New issue has not been triaged by the area owner
label
Oct 4, 2024
Tagging subscribers to this area: @tommcdon |
I believe that's a limitation of lldb. |
However, maybe using another brk instruction flavor might help: https://stackoverflow.com/questions/75934525/stepping-over-brk-instructions-in-lldb-on-aarch64 |
I will try to make such a change and see. |
That worked! I am going to create a PR with a fix |
janvorli
added a commit
to janvorli/runtime
that referenced
this issue
Oct 4, 2024
Currently we use brk #0, but lldb cannot step over it. Using brk #0xf000 instead works fine. Close dotnet#108541
dotnet-policy-service
bot
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Oct 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
Using lldb and sos to debug .net, while write below C# code:
it will generate below asm:
but it never step over the
brk
, the only way to modifypc
register manually.Reproduction Steps
Compile and launch with lldb and run it.
Expected behavior
Enter
ni
to step overbrk
.Actual behavior
Always hitting the
brk
.Regression?
No response
Known Workarounds
Modify the
pc
register manully.Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: