-
Notifications
You must be signed in to change notification settings - Fork 35
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
GDB localhost:6666: Operation timed out. #55
Comments
It might not be a timeout, maybe my app isn't build right (maybe some debug symbol get stripped out), but my app is slow to open and it print the timeout message way before the app is up and running. So I won't be sure which one it is before boosting the timeout. |
Try https://sourceware.org/gdb/onlinedocs/gdb/Remote-Configuration.html |
Tried it. I think the problem was that i needed -g in the linking step too, not just compiling. I still have two problem now. I can't use the standalone flash player to debug. When I use it in the FLASCC_GDB_RUNTIME variable it tells me that gdb can't find the flash runtime. It works when I set a web browser as the flash runtime, but it takes forever to load the game (more than an hour and then I killed it). |
Hi, FLASCC_GDB_RUNTIME=/cygdrive/c/Work/tools/flashplayer.exe I think the first one which is actually needed for GDB, the others are for FlexUnit and for some other 3rd party components. |
I'll try, but I doubt that the last one would be call FLASH_PLAYER_EXE on OSX (I am working on OSX). |
I copy a portion of a travis.yml script:
So just switch the path with the OSX one after installing debug player using Brew Cask or Direct installer. |
I created a SWF from a debug crossbridge SWC and other SWC produced from Flash pro for assets using the MXMLC compiler from air (the ASC2 one not the Flex one).
When I try to run it with gdb it takes a while, but it start. Though gdb never attach and print:
crossbridge/sdk/usr/bin/../../usr/share/flascc-run.gdb:1: Error in sourced command file:
localhost:6666: Operation timed out.
Any idea How to boost the timeout on gdb?
The text was updated successfully, but these errors were encountered: