[ 
https://issues.apache.org/jira/browse/FLEX-23989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701750#comment-13701750
 ] 

Matthew Frederes commented on FLEX-23989:
-----------------------------------------

This issue mentions a patch which used to be attached to SDK 29513 
(FLEX-26768).  I have encountered this issue with a single SWF file, and would 
like to see the patch if it could be made available...  Thank you.
                
> FDB: Cannot set breakpoints in modules loaded at runtime.
> ---------------------------------------------------------
>
>                 Key: FLEX-23989
>                 URL: https://issues.apache.org/jira/browse/FLEX-23989
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FDB - Debugger
>    Affects Versions: Adobe Flex SDK 3.4 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows XP
> Browser: Firefox 3.x
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Adobe JIRA
>            Priority: Minor
>
> Build project with Ant using Flex SDK 3.4.0. Project has an mx:Application 
> console that launches mx:Module components as application widgets. This is a 
> commercial product so I cannot send code. The mx:Application and mx:Module 
> components use several .SWC libraries that are part of the project code and 
> compiled in the same project. mx:Application and mx:Module components are 
> deployed on a local web server.
>  
> Execute command line FDB with URL to HTML wrapper of mx:Application. 
> Application launches and breakpoints can be set in the mx:Application code. 
> Application module component selected and launched. Application loads the 
> mx:Module with the ModuleLauncher. FDB stops in pre-init, type 'continue', 
> FDB stops in init. Use FDB list command 'list <Component>.mxml <linenumber>' 
> where <Component>.mxml is the mx:Module component or a component called by 
> the mx:Module component. The component source code is listed as expected. 
> Attempt to set a line breakpoint using 'break <lineno>', or a function 
> breakpoint using 'break <functionname> results in the error message: 
> 'Breakpoint not set; no executable code at line <lineno> of 
> <Component>.mxml#nnnn'.
> The error message for an attempt to set a function breakpoint has the correct 
> line number of the function. WTF? If it knows the line number why doesn't it 
> set the breakpoint?
> The exact same code can be debugged in FlexBuilder 3.02 but not in FDB from 
> Flex SDK 3.4.0. FDB breakpoints in the mx:Application code work as expected. 
> It only seems to affect modules loaded by the module launcher.
> A screenshot is attached showing the source code listing and an attempt to 
> set a function breakpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to