Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
When 1 file belonging to 2 workers has a breakpoint set on the same line in the 2 workers, we currently can't control which one will be deleted after a "clear" command and the 2nd one can't be deleted:
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)