-
Notifications
You must be signed in to change notification settings - Fork 440
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
Why does get_metadata()
fail when running in a debugger, but succeeds otherwise?
#628
Comments
I'm suspecting this is some fuckup of Apple's that haunts me now that I've upgraded the OS. |
On a related note, why does |
When I use this code to do the HTTP request directly
I receive
When running in debugger, but the program runs without it. Meanwhile,
It seems that under |
Also does not seem to be related to debugging entitlements. Running this has no effect
|
Update: This seems to be a problem with apple lldb. Homebrew lldb via |
What's real strange is that opening tcp connections inside a c++ program works normally in lldb
|
Describe your question
This is a very interesting problem I have never had, and I don't even know how to begin debugging it.
Our client code calls
get_metadata()
for a number of times, since it often returns an empty string for the first n attempts.This works mostly, but now when I execute the same program in
lldb
, all attempts fail, no matter how often I try.I recently upgraded the OS, but I don't know if Apple's new llvm version can have anything to do with this. How could I begin troubleshooting?
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: