Flash Builder deactivates breakpoints (sometimes)

For many of my Flash Builder projects (4.0, 4.5, or 4.6), after some time, the Flash Builder debugger begins to ignore the breakpoints that I placed. When this happens, breakpoints are displayed as a blue dot, not a blue dot with a check mark on it.

All the new breakpoints that I place after the start of swf work.

I suspect this is because I am attaching a debugger to swf running on the server. In the Run / Debug parameters, the URL is "http: // localhost / xxxxx" instead of a direct link to swf.

As I mentioned, this does not always happen. Sometimes the breakpoints that I set a few hours ago start to work.

This is especially annoying when I want to stop at a breakpoint during initialization.

Does anyone know what causes this and how to get around it?

Thank.

+5
source share
2 answers

We also ran into this problem and found that the following works:

  • Remove all breakpoints from the application.
  • Do a clean build
  • Launch the application
  • Set a breakpoint. It should work.

In most cases, you can skip step 2, if it still does not work, try again, including it.


We were able to track the problem with the error in the Flash debugger. This raises the following exception when starting a run with residual points already set:

flash.tools.debugger.InProgressException
    at flash.tools.debugger.concrete.DSwfInfo.swdLoaded(DSwfInfo.java:153)
    at flash.tools.debugger.concrete.DSwfInfo.getSourceList(DSwfInfo.java:129)
    at flash.tools.debugger.threadsafe.ThreadSafeSwfInfo.getSourceList(ThreadSafeSwfInfo.java:78)
    at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.findSourceFiles(FlexLineBreakpoint.java:414)
    at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.instantiate(FlexLineBreakpoint.java:467)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget.instantiateBreakpoint(FlexDebugTarget.java:1172)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget.access$4(FlexDebugTarget.java:1166)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread.installDeferredBreakpoints(FlexDebugTarget.java:653)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread.advanceStateMachine(FlexDebugTarget.java:684)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread.access$7(FlexDebugTarget.java:658)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread$1.run(FlexDebugTarget.java:771)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread.eventLoop(FlexDebugTarget.java:748)
    at com.adobe.flexbuilder.debug.model.FlexDebugTarget$FdbThread.run(FlexDebugTarget.java:812)
    at java.lang.Thread.run(Thread.java:680)
+3
source

I cracked a fix for this, using some due diligence for comparison. This is a fix for FB 4.7 and possibly just 4.x:

.metadata Flashbuilder, : .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs

, : breakpointVerticalRuler = TRUE

FB : breakpointVerticalRuler = TRUE

. FB , , .

0

All Articles