Can't debug with gdb - avm2-remote times out

I'm trying to debug a FlasCC SWF that's loaded by our main SWF, but can't get it working and could use some help and/or advice.
This is on OS X, Firefox 20, Flash debug player 11.7.700.169
I put flascc/sdk/usr/bin at the front of my path
I created /Library/Application Support/Macromedia/mms.cfg and added the line "ScriptStuckTimeout=600"
I exported FLASCC_GDB_RUNTIME=/Applications/Firefox.app
I launch gdb, but cannot get it to attach to the loaded SWF. I always get a timeout error:
$ gdb
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-apple-darwin10 --target=avm2-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) break main
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (main) pending.
(gdb) run
Starting program: 
/xxxxxxx/tools/flascc/1.0.1/sdk/usr/bin/../../usr/share/flascc-run.gdb:1: Error in sourced command file:
localhost:6666: Operation timed out.
Looking at flascc-run.gdb, it contains one line:
target avm2-remote localhost:6666
So, it seems like something should be listening on port 6666 but isn't? What am I missing here?
Thanks,
--brian

Solved for me
FlasCC/sdk/usr/bin/g++ -c -g -O0 main.cpp ## additional flags
FlasCC/sdk/usr/bin/g++ main.o -emit-swf -o main.swf ## additional flags
changet to
FlasCC/sdk/usr/bin/g++ -g -O0 main.cpp -emit-swf -o main.swf ## additional flags

Similar Messages

  • Remote debug with gdb

    Can anybody help?
    I try to use remote debug with gdb-5.0 on Solaris8 x86. When I issue "target cisco ..." I get "No such file or directory" message.
    What is the problem.
    Thanks.

    Solved for me
    FlasCC/sdk/usr/bin/g++ -c -g -O0 main.cpp ## additional flags
    FlasCC/sdk/usr/bin/g++ main.o -emit-swf -o main.swf ## additional flags
    changet to
    FlasCC/sdk/usr/bin/g++ -g -O0 main.cpp -emit-swf -o main.swf ## additional flags

  • How to disable logon with token when session times out.

    Please help!!!,
    After I modified, save and close the web.config file and restart IIS, it continues to send me to the logon page after the session times out.
    Is there other way that i can disable the logon after the session times out?
    modified code:
    <!-- Set to false to disable logon with token when session times out -->
    <add key="logonTokenEnabled" value="false"/>
    CRS version: Crystal Server XI R2 SP2
    Viewer: .NET Infoview
    Thank you,
    Chico
    Edited by: Walter Chiriboga on Aug 29, 2008 8:26 PM

    I think if you enable some type of SSO (single sign-on) you could accomplish something like this, but with traditional logons this would be a security risk. You would need to allow your sessions to not time out. After a session times out with out some type of SSO involved it's impossible for our application to identify who the user is when they access an object. This is why you are reprompted for logon.
    There may be a way to extend session life indefinitely but it wouldn't be recommended.
    Regards,
    Tim

  • Can't debug with jbuilder on a remote s1as

    Hi,
    I'm trying to run or debug an application on a remote sun one application server from a jbuilder 8 ee. The thing is that the ide deploys the web application without any problem, but when it doesn't run it, and if you try to debug it, you get this error:
    -- Cannot start Java debug process VM --
    com.sun.jdi.connect.VMStartException: VM initialization failed for: D:\JBuilder8\jdk1.4\bin\java.exe -classpath "D:\Sun\AppServer7\lib\appserv-admin.jar;D:\Sun\AppServer7\lib\appserv-cmp.jar;D:\Sun\AppServer7\lib\appserv-ext.jar;D:\Sun\AppServer7\lib\appserv-jstl.jar;D:\Sun\AppServer7\lib\appserv-rt.jar;D:\Sun\AppServer7\lib\appserv-tags.jar;D:\Sun\AppServer7\lib\jhall.jar;D:\Sun\AppServer7\lib\sun-appserv-ant.jar;d:\JBuilder8\lib\ext\appsrvSUNJB8.jar" -DFILETODEPLOY="D:/pruebas/jbuilder8/pruebasS1AS7/pruebasS1AS.war" com.sun.appserv.jbuilder.server.Main Debug
    In the manual says that this could be caused by the admin server not running, but it is not the case, because it is running, and has just been used to deploy the application.
    If i do the same operation on tomcat, there are no problems.
    Thanks for the help and regards,
    Juan

    In case you need to debug an application on a remote Sun ONE Server Instance. Go to Admin Tool of Sun ONE Application Server 7 and Start Default Server Instance in the Debug Mode. You need to look for port at which Sun ONE debugger has started. For this find the following Entry in server.xml of Default Server instance.
    server.xml is located in config folder in the default server instance folder in that particular domain under the domains directory in <INSTALL_DIR> of Sun ONE Application 7 e.g. if default server instance is server1 in domain1 then server.xml will be located in <INSTALL_DIR>/domains/domain1/server1/config
    <java-config java-home="C:/Appservers/Sun/AppServer7/jdk" server-classpath="C:/Appservers/Sun/AppServer7/lib/appserv-rt.jar; " env-classpath-ignored="true" debug-enabled="true" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1186 -Xnoagent -Djava.compiler=NONE">
    Note the value of address in the debug-options attribute value
    specification. In this example the address is 1186.
    Now in JBuilder Go To Run->
    Configurations and edit Run Time Configuration for your JSP. Go To Debug Tab and Enable Remote Debugging and check Attach Option. In the Host name text field enter the hostname of the Default Server Instance. In the transport select dt_socket from the Type List and in the Address field enter the value of address from the debug-options attribute specified in the server.xml file.
    Now try to Debug the application.
    For more information on Remote Debugging, check out section 5.8.2 Remote Debugging in User Documentation of the Plugin.

  • I have Problem uploading photos to craigslist. It says it has a problem communicating with the server and times out. It works in explorer but not Firefox and I just recently downloaded the new version of firefox. Can you be of any help?

    Photos will not upload and the server times out.

    Well, two thoughts.
    The battery has completely discharged and will take overnight to recharge, so don't expect much in an hour.
    The battery has deep discharged and is now dead. It will never recharge and should be replaced.
    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task. Start with Google to search for these.
    The flat fee for a battery exchange is, I believe, $99.00 USD.

  • Both AIRSDK 13/14 can't debug with iOS simulator !

    XCode 5.1.1 / Mac OSX 10.9.2 / iOS Simulator 7.1 or 7.0 or 6
    AIRSDK 13/14
    all can't debug in iOS Simulator
    error message:
    Unable to dvtFoundationBundle. Error:

    when you debug your ipa, run the application, and it will show the adobe alert
    but it did not show on iOS 7.03,iPhone 5s,just crashed
    my objective code:
    #import "FlashRuntimeExtensions.h"
    FREObject tryCall(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
        FREObject retStr;
        FRENewObjectFromUTF8(1, (const uint8_t*)"", &retStr);
        return retStr;
    void ANEContextInit(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
        *numFunctionsToTest = 1;
        FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);
        func[0].name = (const uint8_t*) "tryCall";
        func[0].functionData = NULL;
        func[0].function = &tryCall;
        *functionsToSet = func;
    void ANEInit(void** extDataToSet, FREContextInitializer * ctxInitializerToSet, FREContextFinalizer * ctxFinalizerToSet)
        *extDataToSet = NULL;
        *ctxInitializerToSet = &ANEContextInit;
    i think it just a empty and,what should i do?how can i fix this? thank you

  • Sporadic issues with wireless connection (dhcpcd times out)

    I'm using a wireless usb adaptor Dlink DWA 110 (chipset rt73). It can connect fine some times, but many times it times out on dhcpcd. Raising the time out time causes it to hold indefinitely on the message "offered 192.168.0.132 from 192.168.0.1". Analyzing the dmesg, I see
    [ 118.065433] ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 507.792005] wlan0: deauthenticating from 00:1e:58:16:89:8c by local choice (reason=3)
    [ 507.795984] wlan0: direct probe to AP 00:1e:58:16:89:8c (try 1)
    [ 507.798617] wlan0: direct probe responded
    [ 507.798622] wlan0: authenticate with AP 00:1e:58:16:89:8c (try 1)
    [ 507.800482] wlan0: authenticated
    [ 507.800506] wlan0: associate with AP 00:1e:58:16:89:8c (try 1)
    [ 507.802986] wlan0: RX AssocResp from 00:1e:58:16:89:8c (capab=0x431 status=0 aid=6)
    [ 507.802991] wlan0: associated
    [ 507.816784] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    I'm writing this from an ubuntu live cd, where it works just fine. Here follows my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/Bahia"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(!usblp !ipv6)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="pedro"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    #eth0="dhcp"
    #INTERFACES=(wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    NETWORKS=(dlink)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network net-profiles cups dbus hal netfs crond alsa webmin timidity++)
    I've tried googling, but no suggestion seems to work. Any help?

    This is basically a workaround, but still. You can try hold_connect script to automatically watch connection status. It can be found here: https://bbs.archlinux.org/viewtopic.php?id=103139. Just add "iwconfig wlan0 power off" string in function connect under "sudo netcfg down ..." line.

  • Can I change how long before a "time out"?

    Hi,
    I have a hardware firewall that intercepts and scans all incoming POP traffic before letting it pass through.
    We've found an issue with large attachments where Mail times out before the firewall has downloaded and scanned the attachment.
    I can't find a Network or Mail preference to change the length of Mail's time out.
    Anyone know how to do it?
    Thanks!
    - pi
    Dual 2.5   Mac OS X (10.4.6)  

    I took a look at Tweak UI. It has my current hover time as 400ms.
    1) In my PS CS4, the hover time is about 1400 ms (I measured it), so I doubt that CS4 uses the setting displayed in Tweak UI.
    2) I tried changing the hover time in Tweak UI to 100ms. It made no difference in PS.
    I have seen elsewhere on the web that in InDesign the user can set the hover time, implying that delay is inside the PS program also.
    Other ideas?
    By the way, I am on XP SP3.

  • Problem with visa RQS (always times out)

    I am trying to program a pair of Wavetek 39 waveform generators, which us GPIB.  I want to not fill up their input buffer by seending commands too fast, so I want to know when it is done with one before sending the next one.  The way I should do this it seems, is to use the service request event.  Unforunately, I can't get that working. 
    I've slightly modified the SRQ event example (just modified the instrument instruction string to match my instrument) and attaced that.  Unfortunately, when I run that, no service request is generated, or at least the "wait for RQS" vi doesn't pick up on them, so it always times out, even thought the instruction ("WAVE SINE", which just selects a sine wave for output) is definately finfished. 
    Any ideas why this isn't working, or othe methods I might use to make sure I don't send instructions too fast (besides just adding arbtrary waits. .  that would be dumb)?
    Attachments:
    SRQ Event Handling.vi ‏42 KB

    yes I've seen that tutorial.  It is, as far as I can tell, very similar to the example code in SRQ Event Handling.vi.  Unfortunately I still get timeouts when I try using " *OPC? " instead of " *OPC " so either I'm doing something wrong (and not understanding how it's supposed to work), or my GPIB device is simply not generating the service request as it should.
    - Bjørn
    Message Edited by holomorph on 01-26-2007 05:54 PM
    Message Edited by holomorph on 01-26-2007 05:55 PM

  • Problem with Synchronous abap proxy time out

    Hi there.
    I have the following scenario:
                      sync                   sync
    3rd party <-->  PI    <--
    >  ERP
                       http                    abap proxy
    In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
    The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
    Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and  the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
    Kind Regards,
    Roberto.

    Hi Roberto.
    There are a lot of time out configures in PI .
    Follow the link that explain about this:
    How to Investigate Timeouts In Synchronous XI PI Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    I hope to help you.
    If you still keep this problem, you can ask me more about it.
    Regards..
    Bruno.

  • Trying to extend my network with express but it times out

    Trying to extend my network with an airport express, but everytime I follow the instructions it prompts me to "switch" networks and then it times out.

    What is the make & model of the wireless router that you are trying to extend with the 802.11n AirPort Express Base Station (AXn)?

  • Can't download ios update because connection times out on i-tunes

    One I-tunes, I've tried multiple times to dowload the update to ios 4.3.5, but after dowloading, the connection times out before installation. I can't get the download on the Apple site. What else can I do?

    Disable your firewall/security software and try again.

  • Can't update operating system always get time out message

    When I try to download a new operating system via iTunes it downloads for about 20 minutes and then I get the message "time out - cant conntect to the iTunes store". Any suggestions?

    Wait a few hours and then try again.

  • Can't debug with mac-intel, firefox and FB2

    Here is the message I get when trying to debug:
    <start>
    Failed to connect; session timed out.
    Ensure that:
    1. You compiled your Flash application with debugging on.
    2. You are running the debug version of the Flash Player.
    <end>
    I assume the flash player 9.0.45 does not have a debug
    version for the intel mac. Has anyone got this to work? In the mean
    time, I'll go back to using FB2 on windows (in parallels).

    Was this ever resolved? Because I am having the same problem.
    I can install the flash player debug version but then the flash
    player won't work in the browser AT ALL.
    When I installed FlexBuilder I was told that I didn't have
    sufficient permission to install the debug flash player even though
    I am an Admin on this computer. I have read that because I am not
    the original root user, that this is the problem, but if I install
    using sudo from the command line, the debug will install, but again
    no flash player will work in the browser.

  • Nano 6th gen, can I sync with iphone & how many times can I download music

    Hi,
    I'm new to this, so I'm sorry if I make a mistake...
    I'm getting an nano 6th generation and I wondered if I can use the itunes I've bought for my iphone and music downloaded or if I have to start from scratch?  Also, if I use the music can I use it endlessly, like when I get a new iphone & then a new one or is there a limit to howmany times I can put it onto a new device?
    Many thanks!

    Using the same Apple ID you can sync iTunes purchases to your nano without having to re purchase.
    Apple - Support - iPod nano - Syncing

Maybe you are looking for