Skip to content

Xcode can't hit breakpoint #4

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

Closed
why2000 opened this issue Mar 7, 2019 · 3 comments
Closed

Xcode can't hit breakpoint #4

why2000 opened this issue Mar 7, 2019 · 3 comments

Comments

@why2000
Copy link

why2000 commented Mar 7, 2019

Under Xcode 9.3.1, after trying to run some simple code with template.asm (for example just mov eax, 0, and _ byte 0 in .data), Xcode just skipped the breakpoint that is said in README, and finished with such a message:

  • Warning: hit breakpoint while running function, skipping commands and conditions to prevent recursion.

Maybe this is an issue from my Xcode configs, but there seems to be no information about how to stop Xcode's skipping breakpoints automatically.

@why2000
Copy link
Author

why2000 commented Mar 8, 2019

In fact after building, I can use lldb to add breakpoints at main using "br s --shlib targetname --name main", but when I try to add such a breakpoint in Xcode, it will sill show that warning and ignore all the breakpoints.
So for sure it's a problem with Xcode, but still don't know how to fix it...

@why2000
Copy link
Author

why2000 commented Mar 8, 2019

Well this issue is solved by disable backtrace recording shown in the following:

  • Product->scheme->Run->Options->Queue Debugging (the last line of "Option" page)
  • disable the "enable backtrace recording"

@why2000 why2000 closed this as completed Mar 8, 2019
@janka102
Copy link
Owner

janka102 commented Mar 9, 2019

Thanks for looking into this 👍 I've updated the readme.

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

2 participants