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$ReadGreetingCommand
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$LaunchBrowserCommand
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$LaunchBrowserCommand
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$LaunchBrowserCommand
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$InsertBreakpointCommand
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