Flash debugger doesn't stop on breakpoints

I don't know why but i've got fla files that I can't debug.
I'm able to launch debugger and the swf file is correctly run when I do it, but if for instance I add a trace in my code and add a breakpoint on it, it will appear in the output but the debugger doesn't stop on the breakpoint.
It's a pretty big project that uses a quite numbers of external swc libraries, home produced for the most, and I can't figure where could this bug come from. All the more if I create a simple fla file with a simple document class attached to it the debugger works perfectly.
So if anyone already encountered the problem or got an idea over any reason that could make the debugger to not stop on breakpoint, I'd appreciate.

I'm back but I have still not found the cause of the problem.
I answered if the fact I work on a server could be the cause, but moving my files to local didn't resolve the problem.
I also have the problem sometimes even without using swc libraries, just with as3 source files.
I even tried to add the breakpoints manually in the Flash's xml debug file but successless.
However, I found a little trick that can be helpful. When the debugger bugs like that, instead of adding breakpoints, I throw Errors, and then the debugger stop on the line where the error is thrown, giving you access to the content of all the variables at that point. But you still cannot use step by step.

Similar Messages

  • [svn] 4082: the AS3 debugger wasn' t stopping at breakpoints in frame scripts that

    Revision: 4082
    Author: [email protected]
    Date: 2008-11-12 07:45:21 -0800 (Wed, 12 Nov 2008)
    Log Message:
    the AS3 debugger wasn't stopping at breakpoints in frame scripts that
    contain include statements
    we use the qualified error origin (in Context) for frame script module
    name mapping, and when the CodeGenerator processes IncludeDirectiveNodes,
    it resets the Emitter's origin, but was using Context.getErrorOrigin
    instead of Context.getQualifiedErrorOrigin. it's safe to add this to
    core asc (for all clients) because getQualifiedErrorOrigin just passes
    through to getErrorOrigin if a qualified one isn't set (is null or
    blank).
    QE Notes: none
    Bugs: authoring bugbase 198885
    Reviewer: Erik Tierney
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java

    Revision: 4082
    Author: [email protected]
    Date: 2008-11-12 07:45:21 -0800 (Wed, 12 Nov 2008)
    Log Message:
    the AS3 debugger wasn't stopping at breakpoints in frame scripts that
    contain include statements
    we use the qualified error origin (in Context) for frame script module
    name mapping, and when the CodeGenerator processes IncludeDirectiveNodes,
    it resets the Emitter's origin, but was using Context.getErrorOrigin
    instead of Context.getQualifiedErrorOrigin. it's safe to add this to
    core asc (for all clients) because getQualifiedErrorOrigin just passes
    through to getErrorOrigin if a qualified one isn't set (is null or
    blank).
    QE Notes: none
    Bugs: authoring bugbase 198885
    Reviewer: Erik Tierney
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/CodeGenerator.java

  • Flash cs6 debugger won't stop on breakpoints - productivity killer bug

    hey all
    help me before i punch the screen out of frustration!!!
    Flash cs6 says "Breakpoint not set; No executable code at..." and won't stop at the breakpoint although i checked everything (believe me i did). I also googled for answers.
    This is a bug since it comes and goes randomly (mostly comes, rarly goes).
    The actionscript side on my project is very large - so you may not be able to reproduce this yourself. (i suspect this is something to do with a lot of actionscript, memory stuff - like code completion problems).
    Is there anyway to clear some kind of FLA metadata that might hold the debugging info?
    thank you!!!

    Hi Amy, thanks for showing concern. No, there were no such scenario with my SWF since I had created a new AIR type of project with Flash CS6 installed. I don't know how really we can explain this problem (debugging) with a newly installed software; but simply the debugger never worked with the installation, so I just removed and moved to MacOS where it was working at least.
    I am not sure even if the Flash CS has some dependencies - if I consider its the issue with my PC (installation).

  • IPhone proejct: XCode debugger will not stop on breakpoints

    I've got XCode 3.1.2 on OS X 10.5.5. I have an iPhone project that builds fine but the debugger will not hit any of the breakpoints I set. I've tried all the standard fixes that I find on the net:
    1. I've turned off 'Load Symbols Lazily' in XCode preferences
    2. My active config is Debug
    3. Optimization level is 0 in build settings
    4. I've cleaned all targets and rebuilt
    5. I use Build and Debug (as opposed to Build and Run)
    I thought I might have inadvertently tweaked settings on my project. So I created a new project and that one has the same problem.
    I'm hoping that I am missing something easy here. My debugger was working just a few days back but all of a sudden it has stopped.
    Thanjs in advance

    Occasionally I run into this problem, and it is still a mystery to me.. however, if I put a break in the appDidFinishLoading, or some other very early method, it always seems to work, and then the other breakpoints work too! I wish I understood why.
    michael

  • 2.1 Final: Remote debugging doesn't stop at breakpoints

    Hi,
    Usually it's me helping others to set this up, but now I think the problem is with sqldev.
    I know everything is set up correctly, because any raised exception does make the remote debugger step in the code, but any other user defined breakpoints are ignored.
    Can someone confirm (and bug) this please?
    Thanks,
    K.
    Edited by: -K- on 19/01/2010 11:37:
    This seems to be happening only inside the file-based editor, linked to the stored PL/SQL.
    Every version I try file-based development it seems promising, but only after minutes of use I get a big disappointment and have to revert to stored editing. Bummer.

    I'm having the same problem. I've created bug 9446819.

  • Flash Debugger issue

    Hi,
    I'm trying to use the Flash debugger but when I put breakpoints in nothing happens except I see the swf.  I can't run through the code or see any variables?!
    I'm coding in AS3 and I'm using CS4 professional on Windows XP professional platform. 
    Thanks in advance for any help.

    I've installed flash again but the debug still doesn't work still.
    I've managed to debugged my FLA on a colleagues machine without any problems so I know it's not the flash files!
    Anybody got any ideas what I can try next?

  • Closing NetStream doesn't stop loading data in Opera

    Hi,
    i'm wondering if any of you experienced this problem before?
    For me Flash Player doesn't stop loading data when issuing
    the close command for a net stream that is progressively
    downloading data, only the video stops. I'm using Windows XP SP2,
    Opera 9.27 and Flash Player 9.0.124.0. It works fine in Firefox,
    Mozilla, Seamonkey, IE and Safari.
    I'm not doing anything special, just the following script
    quote:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    vid.attachVideo(ns);
    ns.play("path-to-the-video.flv");
    and then closing the stream with "ns.close()".
    Regards
    Frank

    Greeetings,
    It's probably still loading some content, such as Flash-based ads, etc. If you don't like those, disable JavaScript in Preferences>Security or install click2flash. You can also just press the Esc (Escape key) to stop the loading entirely.

  • Adobe Flash doesn't stop downloading content if told to do so

    Couldn't reply to this: [http://example.com https://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&comments_parentId=369682&forumId=1#threadId738381], but have the same problem.
    Adobe Flash doesn't stop downloading a once started embedded video if you close the tab/firefox or right click on the embedded flash content and choose Stop Download.
    Only workaround for me so far is to go into my Windows Firewall Advanced Settings and then there opening the Windows Firewall Properties Dialog and '''blocking Outbound Connections in the Private Profile tab''' to stop the flash plugin.

    Hi iris99 ,
    For win 7 64 bit  or win 8.1 64 bit - please download this driver
    - http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-141892-1&cc=us&dlc=en&lc=en...
    Regards,
    PraTH_KR
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • [4.0 EA2] Debugger not stopping at breakpoints/not working at all

    When running the debugger in SQL Developer either the debugger immediately connects then disconnects after executing the code WITHOUT stopping at breakpoints or the debugger hangs and the only actions I can choose is to terminate or to pause.
    The first issue happens a lot more frequently. I am attempting to debug a procedure in a package where the there are several breakpoints throughout the code including at the very start. After checking my tables in which the procedure acts upon before and after running the debugger I can see that the data has been altered so the debugger has ran through the procedure and executed the code without stopping. I have checked this on very simple code where the breakpoint code has been called and have experienced the same result.
    Im using 64bit Win7 -
    JDK - 1.7.0 update 40
    Output:
    LOAD TIME : 329UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    UsersCache.fillIn() time = 3  ret==null?: true
    tableAlias.cardinality()==0
    UsersCache.fillIn() time = 4  ret==null?: true
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    tableAlias.cardinality()==0
    Debugger Output:
    Connecting to the database Layout Pro.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '*****', '*****' )
    Debugger accepted connection from database on port *****.
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.DISCONNECT()
    Process exited.
    Disconnecting from the database Layout Pro.
    Debugger disconnected from database.
    Thanks in advance,
    James

    Hi
    Have you compiled for debug? - Yes
    Are the breakpoints definitely on code lines?- There are several lines of code which have up to 5 consecutive breakpoints
    You can also set the preference Tools|  Preferences|Debugger|Start Debugging Option to 'Step Into'.  That should stop at the first executable line. - This worked thank you, I can now access the debugger and test my work.
    On swapping the preferences back to 'Run Until a Breakpoint Occurs' (which it was originally set as) the debugger now correctly stops a the breakpoints. I didn't make any changes to the code/debugger parameters or anything so I'm rather confused to why its suddenly started working .
    But anyway thank you for the help,
    James

  • WebCam Go Plus: red light doesn't stop flashing

    Hello,
    I am experiencing following problem when trying to use the WebCam Go Plus as a digital camera: I take a picture, and the red light indicating that the picture is being written to memory ("busy") doesn't stop flashing. Trying to turn off the camera deosn't work either, and the only way to stop everything is by removing the batteries and starting over again. No picture is written, though. Previous images have been downloaded, so it is not an "disk full" issue.
    Any ideas will be highly appreciated (specially by my little daughter, who is trying to take the camera on a trip).
    Thank you!

    strawinsky,
    You can try doing a hardware reset and see if it helps.
    You can find the steps at our knowledgebase article SID2096.
    Jason

  • Flash Builder doesn't rebuild the project everytime I modify the code

    Hi,
    Flash Builder doesn't rebuild the project everytime I modify the code.
    I find myself chasing ghosts when trying to debug my project. Flash Builder 4.0 doesn't rebuild my project after every change I make.
    The "Project - Build Automatically" is of course selected. To make sure the problem is real I ran "Project - Build All" several times. Nothing helped.
    For example, I am using a boolean constant to select different code in an if block. Even if I change the value of the boolean, When I debug the code, I see that the constant's value doesn't change. Only If I log out login again, FB will rebuild my code.
    This happens too many times and it is very confusing to debug, when you don't know if the result now is with or without your changes.
    It also affects the following:
    - breakpoints that are set or disabled are not taken into account and the debugger will skip them even if they are set or stop on them if they are disabled.
    - the debugger stops the debug on empty lines, if those lines previously contained code.
    - When I comment out the declaration of variables. Eclipse doesn't recognize them and doesn't show any hint on them when you hold the CTRL key and hover over, but while in debug mode, when you hover over the variable instance, its shows a value for it.
    Thanks for your help.
    Bye,
    RaamEE-IL

    The problem is with the SDK settings selected for the Compiler.
    Try going to 'Project' > 'Properties' > 'ActionScript Compiler'.
    Now, in the 'Flex SDK section', try changing the SDK. Click on 'Apply'.
    This will force FB to rebuild all settings for the project.
    You can try again. FB should now have started compiling with latest code changes again.
    Please Note: This is not a permanent fix though!
    In case the problem re-occurs, you'll need to again perform the steps mentioned above to get FB back on track.

  • Suddenly Can't Connect to Flash Debugger

    Out of the blue today my flex builder stopped breaking at
    breakpoints. While trying to troubleshoot I discovered that if I
    right-click on the flash application, and choose Debugger, I can
    try to connect on either LocalHost or Other Machine. I clicked
    Connect with LocalHost selected and got the following error:
    "A connection to the Debugger or Profiler could not be
    established by Adobe Flash Player 9."
    I tried to use Other Machine with my local IP address, as
    suggested in another forum, but it also failed.
    I've got the latest Flash debugger, and my firewall is turned
    off. Does anyone have a clue as to why this would suddenly start
    happening after months of the debugger working?

    I checked out my Flash Version on the site above and it looks
    like it's fine.
    quote:
    Your Player Version: WIN 9,0,124,0
    Debug Player: Yes
    Operating System: Windows XP
    Video Capable: Yes
    Audio Capable: Yes
    Local File I/O Enabled: Yes
    The odd thing is that the trouble seemed to start out of the
    blue. I've been debugging in FireFox for months, then one morning
    it can't connect to the debugger. Luckily I can debug in IE, but I
    still don't know what's up with FireFox.
    Thanks for the suggestions.

  • Strangeness with CS3 Flash Debugger

    Hello friends,
    I'm relatively new to Flash, but since I bought the new CS3
    this summer I've made a concerted effort to learn how to use it in
    my projects. One thing I've never been able to understand is the
    debugger -- it just seems inconsistent? If I set a breakpoint and
    Debug the SWF *sometimes* the debugger will correctly stop on the
    appropriate line of code. From there, I can load the panel which
    shows the active variables, state, etc. More often than not, when
    debugging with breakpoints (or even a SINGLE breakpoint) the
    debugger will stop when it encounters the breakpoint, however the
    little arrow that shows where the execution has stopped is not
    there -- its still just a little red circle indicating a
    breakpoint. I can use the step in/step out commands, but I see no
    feedback as to where the execution is taking place. Usually I end
    up just issuing a "Continue" command, but that defeats the whole
    point of a debugger. I'm quite familiar with debugging with Visual
    Studios, Borland products and GDB on Linux. I feel like there is a
    deficiency (or something I'm not aware of) with the CS3 Flash
    debugger. Has anyone else experienced this bizaare behavior?
    Your comments are appreciated.
    Thanks! :)
    PS: Initially I thought this problem only existed when I
    typed AS3 in the frames of my SWF (because it seemd to work when I
    wrote a separate .as class and linked it to the SWF as the document
    class, however now even that assumption is failing me.

    hmm when i buy this soft
    http://www.wa7oef.org/manufacturer-Adobe.html
    Support of this site help me in all my problemss

  • Flash movie doesn't load properly in IE only

    I have a simple flash movie which transitions through text and photos. I have a preloader (AS3) on frame 1, which sends the playhead to frame 2, after the movie has loaded 100%. For some reason, in Internet Explorer, the preloader bar will load all the way, but fail to move the playhead to frame 2, so it'll just sit there, with the preload bar at 100%. However, this does not happen every time. For instance, right now, the flash movie will play when I initially go to the website, but when I click on another page, the same flash header (same swf on each page) will just show the preloader bar but will not play the rest of the movie. Reloading the page doesn't help. Closing the browser and reopening it doesn't help. Clearing the browser cache doesn't help either. So, the flash movie will play correctly on the first page of the website I go to (whether it be the home page or another page) but then when I go to any other page which has the flash movie, it won't play, just sits there with the preloader bar showing. And then when going back to the initial page I entered the site on, the flash movie no longer plays there, either. I haven't seen this problem in any other browser than Internet Explorer (6 and 7). I've checked in Firefox on Mac and PC and Safari on Mac. I'm using flash player 10.0.22.87 on my Mac and PC. The flash movie was made in Flash CS3, for flash player 9, actionscript 3 code.
    So, to see the problem, go here in Internet Explorer: http://demo.matthewpavkov.com/adairsolar. Wait for the movie to load and start playing. It works. Then, navigate to one of the other pages and you'll see that the same swf will not play. Navigate back to the home page, the swf does not play.
    Here is the preloader code:
    import flash.display.*;
    this.stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
    function PL_LOADING(event:ProgressEvent):void {
        var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
        lbar.scaleX=pcent/100;
        lpc.text=int(pcent)+"%";
        if (pcent>=100) {
            this.gotoAndStop(2);
    Also, if I remove the preloader actionscript code, the flash movie plays correctly. You can see that here: http://demo.matthewpavkov.com/adairsolar/no-preload
    The .fla is available to anyone who wants to take a closer look.

    mjjp,
         In may just be that in IE, the ProgressEvent never fires -- because your content is already cached.  See what happens if you add the following new lines (very end of the code sample):
    this.stop();
    this.loaderInfo.addEventListener(
      ProgressEvent.PROGRESS, PL_LOADING
    function PL_LOADING(event:ProgressEvent):void {
      var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
      lbar.scaleX=pcent/100;
      lpc.text=int(pcent)+"%";
      if (pcent>=100) {
        this.gotoAndStop(2);
    if (this.loaderInfo.bytesLoaded >= this.loaderInfo.bytesTotal) {
      this.gotoAndStop(2);
         See what's going on?  This way, even of the ProgressEvent handler never fires, you're still comparing the bytesLoaded property against the bytesTotal property.
    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Debugger Not Always Stopping...

    Hello all.
    I am new to the Oracle/JDeveloper world, so I apologize if this is basic.
    We are using JDeveloper 9.0.3.10.35. The application is run through an applet as the starting point. The applicatiion runs fine.
    While using the debugger though, there are certain classes where the debugger will not stop. Even on simple System.out.println lines.
    While running the application in debug mode (yes I confirmed that), the System.out.println data is printed to the console (using Tomcat), but the debugger is not stopping at the breakpoint.
    The classes that don't work are our own classes that are built at runtime from XML files. These XML files have had their extensions changed to custom extensions depending on what action the file performs. Could this have something to do with it?
    Just looking for help in if I missed something in the setup of the project.
    Thanks In Advance

    It's probably running anonymously. That was my issue I think. The break points don't work on anonymous execution. At least not for me. Now, you can specify to use anonymous break points.. But then it breaks at EVERY anonymous break point. I had a hard time stepping through them all to get to what I needed to see execute, before it would time out... good Luck...

Maybe you are looking for