flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric THOMAS (JIRA) <j...@apache.org>
Subject [jira] [Created] (FLEX-34296) Disable and Remove Breakpoint should now respect the Worker logic
Date Sat, 03 May 2014 15:42:14 GMT
Frédéric THOMAS created FLEX-34296:
--------------------------------------

             Summary: Disable and Remove Breakpoint should now respect the Worker logic
                 Key: FLEX-34296
                 URL: https://issues.apache.org/jira/browse/FLEX-34296
             Project: Apache Flex
          Issue Type: Improvement
          Components: FDB - Debugger
            Reporter: Frédéric THOMAS
            Assignee: Frédéric THOMAS
            Priority: Critical


When 1 file belonging to 2 workers has a breapoint set on the same line in the 2 workers,
we currently can't control which one will be deleted after a "clear" command:

Connected to the target VM, address: '127.0.0.1:38548', transport: 'socket'
Apache fdb (Flash Player Debugger) [build development]
Copyright 2013 The Apache Software Foundation. All rights reserved.
(fdb) run
Waiting for Player to connect
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
(fdb) break #1:56
[SWF] MP3Worker.swf - 181 082 bytes after decompression
Breakpoint 1: file DebuggableWorker.as, line 56
(fdb) info breakpoints
Num Type           Disp Enb Address    What
1   breakpoint     keep y   0x00000000 in debugTickler() at DebuggableWorker.as:56 (Worker
0) 
(fdb) c
[WorkerCreate] 1
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
Active worker has changed to worker 1

Set additional breakpoints as desired, and then type 'continue'.
(fdb) break #1:56
[SWF] MP3Worker.swf - 528 227 bytes after decompression
Breakpoint 2: file DebuggableWorker.as, line 56
Set additional breakpoints as desired, and then type 'continue'.
(fdb) info breakpoints
Num Type           Disp Enb Address    What
1   breakpoint     keep y   0x00000000 in debugTickler() at DebuggableWorker.as:56 (Worker
0) 
2   breakpoint     keep y   0x00000000 in debugTickler() at DebuggableWorker.as:56 (Worker
1) 
Set additional breakpoints as desired, and then type 'continue'.
(fdb) c

Active worker has changed to worker 0
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56            var i:int = 0;
(fdb) c
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56            var i:int = 0;
(fdb) c

Active worker has changed to worker 1
Breakpoint 1, debugTickler() at DebuggableWorker.as:56
 56            var i:int = 0;
(fdb) clear
(fdb) info breakpoints
Num Type           Disp Enb Address    What
2   breakpoint     keep y   0x00000000 in debugTickler() at DebuggableWorker.as:56 (Worker
1) 
        breakpoint already hit 3 time(s)
(fdb) c
Breakpoint 2, debugTickler() at DebuggableWorker.as:56
 56            var i:int = 0;
(fdb) info workers
Main Thread 0 - Suspended
Worker 1 - Suspended (Active)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message