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

Frédéric THOMAS commented on FLEX-34751:
----------------------------------------

Even though it is in French, I guess it will be understanable, this is the new 
output:

Apache fdb (Flash Player Debugger) [build 20150515]
Copyright 2013 The Apache Software Foundation. Tous droits réservés.
(fdb) run
Attente de connexion du lecteur
Lecteur connecté ; lancement de la session.
Définissez des points d'arrêt, puis tapez 'continue' pour reprendre la session.
(fdb) break #1:1
[SWF] C:\Users\AsusFred\AppData\Local\Temp\Main.swf - 680 octets après la 
décompression
Point d'arrêt non défini ; aucune code exécutable à la ligne 1 de Main.as#1
(fdb) break #1:8
Point d'arrêt 1 : fichier Main.as, ligne 8
(fdb) c
Point d'arrêt 1, Main() sur Main.as:8
 8     // code goes here
(fdb) c
[trace] Hello, world!
q

> Regression in fdb tool: VM is resumed if breakpoint can't be set
> ----------------------------------------------------------------
>
>                 Key: FLEX-34751
>                 URL: https://issues.apache.org/jira/browse/FLEX-34751
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FDB - Debugger
>    Affects Versions: Apache Flex 4.13.0, Apache Flex 4.14.0
>            Reporter: Alexander Doroshko
>            Assignee: Frédéric THOMAS
>             Fix For: Apache Flex 4.15.0
>
>         Attachments: Main.as, Main.swf, fdb.jar
>
>
> This regression appeared in Flex SDK 4.13. If fdb says "Breakpoint not set; 
> no executable code at line ..." then VM must stay in suspended state, but it 
> resumes. As a result IntelliJ IDEA users who have at least one breakpoint at 
> the line without executable code can't debug the app at all.
> To reproduce:
> 1. Take any simple AS application, for example, attached Main.as and compiled 
> Main.swf
> 2. In Terminal run [Flex SDK]/bin/fdb, type 'run' and Enter
> 3. Launch Main.swf
> 4. Debugger will attach and fdb console will suggest to set breakpoints. Type 
> 'break Main.as:1' and Enter
> 5. fdb says 'Breakpoint not set; no executable code at line 1 of Main.as#1', 
> VM resumes, application runs. The problem is that the client has no chance to 
> set other breakpoints after that.
> Expected result is that after saying 'Breakpoint not set...' VM remains 
> suspended, fdb prints its prompt (fdb), so client is able to enter more 
> 'break' commands.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to