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

Feature idea: commands for only breaking on or off main thread #78

Closed
kastiglione opened this issue Feb 28, 2015 · 1 comment
Closed

Comments

@kastiglione
Copy link
Contributor

It may not be that common, but I just had a case where I wanted to restrict a certain breakpoint to only the main thread. The breakpoint command has a -t flag, but the tid is not the simply the thread number, instead the tid needs to be looked up via thread list.

As for a command for breaking only when off the main thread, I don't know yet if the Python API would allow that.

@kastiglione
Copy link
Contributor Author

I guess this is as simple as a breakpoint condition on [NSThread isMainThread].

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