Hi Avi, I use the same application domain and the code is merged into memory but I tried anyway thru remote debug session without luck (I would have liked it worked).
Thanks, Frédéric THOMAS > Date: Tue, 14 Jan 2014 23:06:04 +0200 > Subject: Re: RE : RE : FDB vs FB debugging ? > From: akess...@gmail.com > To: dev@flex.apache.org > > If it is any help, I have had this problem when the instance is in the > wrong app domain space or in a swc. The sollution was to use remote > debugging > On Jan 14, 2014 10:21 PM, "webdoublefx" <webdoubl...@hotmail.com> wrote: > > > I checked the debug flag was applied to the module too and I dont use RSLs > > at all in this conf, the clue is that the same compiled files are > > debuggable thru FB but not from FDB directly, so, not thru IntelliJ either, > > what I dont know is how internaly, FB uses FDB, I was trying to find > > something in that direction as people already reported this kind of > > behavior either at Jetbrains or Adobe before, I havent got the links right > > now as Im not at work but will link them tomorrow, at least for reference > > > > > > Envoyé depuis un mobile Samsung > > > > <div>-------- Message d'origine --------</div><div>De : Alex Harui < > > aha...@adobe.com> </div><div>Date :14/01/2014 19:32 (GMT+00:00) > > </div><div>A : dev@flex.apache.org </div><div>Objet : Re: RE : FDB vs FB > > debugging ? </div><div> > > </div> > > Another possibility is that the class is already loaded or is coming from > > an RSL and it is stale or the definition or the class is in a SWF that > > does not have the debug flag set. > > > > On 1/14/14 11:26 AM, "webdoublefx" <webdoubl...@hotmail.com> wrote: > > > > >Actually, that's a freshly compiled module with the debug flag set to > > >true that I can debug in FB, so, I was wondering if FB has > > >particularities I don't know while debuging, also, I found similar issues > > >searching on google but none of them has a fix, any other thoughts ? > > > > > > > > >Envoyé depuis un mobile Samsung > > > > > ><div>-------- Message d'origine --------</div><div>De : Alex Harui > > ><aha...@adobe.com> </div><div>Date :14/01/2014 19:02 (GMT+00:00) > > ></div><div>A : dev@flex.apache.org </div><div>Objet : Re: FDB vs FB > > >debugging ? </div><div> > > ></div> > > >I get that in FDB if the module isn't compiled with the debug flag, or the > > >module is stale so there is no matching code at that line after the source > > >code changed. > > > > > >HTH, > > >-Alex > > > > > >On 1/14/14 10:18 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > > > > > >>Hi, > > >> > > >>I'm facing an issue using IntelliJ or FDB directly to debug multi-module > > >>projects then tried with FB and had no problems, maybe someone can > > >>enlighten me regarding the differences, basically, the issue is that I > > >>can't set a breakpoint in a module, these are the returned messages > > >>"Breakpoint not set; no executable code at line" or "There is no > > >>executable code on the specified line" : > > >> > > >> > > >>In FDB: > > >> > > >>[SWF] //Memotech60PT/UI/shell.swf/[[DYNAMIC]]/2 - 3á918 bytes after > > >>decompression > > >>[SWF] > > >>//Memotech60PT/UI/modules/Authentication/AuthenticationModule-en_US.swf - > > >>341á370 bytes after decompression > > >>[SWF] //Memotech60PT/UI/modules/Authentication/AuthenticationModule.swf - > > >>6á135á818 bytes after decompression > > >>Additional ActionScript code has been loaded from a SWF or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >> > > >>(fdb) info files Aut* > > >>AuthenticateUserCommand.as#2400 > > >>AuthenticateUserEvent.as#1043 > > >>AuthenticationTicket.as#596 > > >>AuthorizationControl.as#971 > > >>AuthorizationEvent.as#1670 > > >>AuthorizationManger.as#927 > > >>AuthorizationServiceDelegate.as#2682 > > >>AutoComplete.mxml#1632 > > >>AutoCompleteItemRemoveEvent.as#947 > > >>AutoSizeTree.as#3133 > > >> > > >>(fdb) continue > > >>Additional ActionScript code has been loaded from a SWF or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >> > > >>(fdb) info files Aut* > > >>AuthenticateUserCommand.as#2400 > > >>AuthenticateUserEvent.as#1043 > > >>AuthenticationModule.mxml#4949 > > >>AuthenticationTicket.as#596 > > >>AuthorizationControl.as#971 > > >>AuthorizationEvent.as#1670 > > >>AuthorizationManger.as#927 > > >>AuthorizationServiceDelegate.as#2682 > > >>AutoComplete.mxml#1632 > > >>AutoCompleteItemRemoveEvent.as#947 > > >>AutoSizeTree.as#3133 > > >> > > >>(fdb) list AuthenticationModule.mxml:37 > > >> 32 > > >> 33 [Bindable] > > >> 34 public var _accCtrlModel : AccessControlServiceModelLocator > > >>= AccessControlServiceModelLocator.getInstance(); > > >> 35 > > >> 36 override protected function initHandler() : void { > > >> 37 resetLocalization(); > > >> 38 } > > >> 39 > > >> 40 private function displayChangePwdForm( event : Event ) : > > >>void { > > >> 41 this.currentState = "PasswordChange"; > > >> > > >>(fdb) file AuthenticationModule.mxml > > >>(fdb) break 37 > > >>Breakpoint not set; no executable code at line 37 of > > >>AuthenticationModule.mxml#4949 > > >>(fdb) > > >> > > >>----------------------------------------------- > > >>In IntelliJ after having configured the logs correctly: > > >> > > >>2014-01-14 16:20:54,227 [ 120523] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454227 Apache fdb (Flash Player Debugger) [build 0] > > >>2014-01-14 16:20:54,227 [ 120523] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454227 Processed by > > >>com.intellij.lang.javascript.flex.debug.FlexDebugProcess$ReadGreetingComm > > >>a > > >>nd > > >>2014-01-14 16:20:54,230 [ 120526] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454230 Sent:run > > >>2014-01-14 16:20:54,230 [ 120526] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454230 Copyright 2013 The Apache Software Foundation. > > >>2014-01-14 16:20:54,230 [ 120526] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454230 Processed by > > >>com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCom > > >>m > > >>and > > >>2014-01-14 16:20:54,326 [ 120622] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454326 Waiting for Player to connect > > >>2014-01-14 16:20:54,326 [ 120622] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716454326 Processed by > > >>com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCom > > >>m > > >>and > > >>2014-01-14 16:20:54,441 [ 120737] INFO - s.impl.stores.FileBasedStorage > > >>- Document was not loaded for $APP_CONFIG$/consoleFolding.xml file is > > >>null > > >>2014-01-14 16:20:55,245 [ 121541] INFO - ellij.concurrency.JobScheduler > > >>- 50 ms execution limit failed for: > > >>com.intellij.openapi.progress.impl.ProgressManagerImpl$1@169bf512; > > >>elapsed time was 75ms > > >>2014-01-14 16:21:01,021 [ 127317] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461021 Player connected; session starting. > > >>Set breakpoints and then type 'continue' to resume the session. > > >>[SWF] //Memotech60PT/UI/shell.swf - 14,919,314 bytes after decompression > > >>2014-01-14 16:21:01,021 [ 127317] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461021 Processed by > > >>com.intellij.lang.javascript.flex.debug.FlexDebugProcess$LaunchBrowserCom > > >>m > > >>and > > >>2014-01-14 16:21:01,021 [ 127317] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461021 Sent:break Authentication.AuthenticationModule.mxml:37 > > >>2014-01-14 16:21:01,045 [ 127341] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461045 Breakpoint 1 created, but not yet resolved. > > >>The breakpoint will be resolved when the corresponding file or function > > >>is loaded. > > >>2014-01-14 16:21:01,045 [ 127341] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461045 Processed by > > >>com.intellij.lang.javascript.flex.debug.FlexBreakpointsHandler$InsertBrea > > >>k > > >>pointCommand > > >>2014-01-14 16:21:01,045 [ 127341] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716461045 Sent:continue > > >>2014-01-14 16:21:03,520 [ 129816] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716463520 Additional ActionScript code has been loaded from a SWF > > >>or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >>2014-01-14 16:21:03,520 [ 129816] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716463520 Sent:continue > > >>2014-01-14 16:21:04,834 [ 131130] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716464834 [SWF] //Memotech60PT/UI/ApplicationResources-en_US.swf - > > >>436,155 bytes after decompression > > >>2014-01-14 16:21:04,935 [ 131231] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716464935 [SWF] //Memotech60PT/UI/shell.swf/[[DYNAMIC]]/1 - 3,918 > > >>bytes after decompression > > >>2014-01-14 16:21:05,646 [ 131942] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716465646 [SWF] > > >>//Memotech60PT/UI/modules/UserReports/UserReportsModule-en_US.swf - > > >>341,044 bytes after decompression > > >>2014-01-14 16:21:05,747 [ 132043] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716465747 [SWF] > > >>//Memotech60PT/UI/modules/UserReports/UserReportsModule.swf - 9,757,814 > > >>bytes after decompression > > >>2014-01-14 16:21:25,914 [ 152210] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716485914 Additional ActionScript code has been loaded from a SWF > > >>or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >>2014-01-14 16:21:25,914 [ 152210] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716485914 Sent:continue > > >>2014-01-14 16:21:47,948 [ 174244] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716507948 Additional ActionScript code has been loaded from a SWF > > >>or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >>2014-01-14 16:21:47,949 [ 174245] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716507949 Sent:continue > > >>2014-01-14 16:21:48,642 [ 174938] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716508642 [trace] warning: The class > > >>Memotech.PatentComponent.Services.vo.DocketingWorkbench has been used in > > >>a call to net.registerClassAlias() in _UserReportsModule_FlexInit. This > > >>will cause UserReports:UserReportsModule to be leaked. To resolve the > > >>leak, define Memotech.PatentComponent.Services.vo.DocketingWorkbench in > > >>the top-level application. > > >>[trace] warning: The class > > >>Memotech.TrademarkComponent.Services.vo.DocketingWorkbench has been used > > >>in a call to net.registerClassAlias() in _UserReportsModule_FlexInit. > > >>This will cause UserReports:UserReportsModule to be leaked. To resolve > > >>the leak, define > > >>Memotech.TrademarkComponent.Services.vo.DocketingWorkbench in the > > >>top-level application. > > >>2014-01-14 16:21:48,747 [ 175043] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716508747 [SWF] //Memotech60PT/UI/shell.swf/[[DYNAMIC]]/2 - 3,918 > > >>bytes after decompression > > >>2014-01-14 16:21:48,860 [ 175156] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716508860 [SWF] > > >>//Memotech60PT/UI/modules/Authentication/AuthenticationModule-en_US.swf - > > >>341,370 bytes after decompression > > >>2014-01-14 16:21:48,961 [ 175257] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716508961 [SWF] > > >>//Memotech60PT/UI/modules/Authentication/AuthenticationModule.swf - > > >>6,135,818 bytes after decompression > > >>2014-01-14 16:22:08,972 [ 195268] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716528972 Additional ActionScript code has been loaded from a SWF > > >>or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Set additional breakpoints as desired, and then type 'continue'. > > >>2014-01-14 16:22:08,972 [ 195268] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716528972 Sent:continue > > >>2014-01-14 16:22:30,006 [ 216302] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716550006 Additional ActionScript code has been loaded from a SWF > > >>or a frame. > > >>To see all currently loaded files, type 'info files'. > > >>Attempting to resolve breakpoint 1, expression > > >>"Authentication.AuthenticationModule.mxml:37": > > >>There is no executable code on the specified line. > > >>Fix or remove bad breakpoints, then type 'continue'. > > >>2014-01-14 16:22:30,012 [ 216308] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716550012 Sent:continue > > >>2014-01-14 16:22:33,665 [ 219961] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716553665 [UnloadSWF] //Memotech60PT/UI/shell.swf > > >>2014-01-14 16:22:33,768 [ 220064] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716553768 Player session terminated > > >> > > >>2014-01-14 16:22:33,773 [ 220069] DEBUG - pt.flex.debug.FlexDebugProcess > > >>- 1389716553773 Sent:quit > > >> > > >>Thanks, > > >>Frédéric THOMAS > > > > > > >