Frédéric THOMAS created FLEX-34292:
--------------------------------------
Summary: Can't select another worker while a pending prompt is
required
Key: FLEX-34292
URL: https://issues.apache.org/jira/browse/FLEX-34292
Project: Apache Flex
Issue Type: Bug
Components: FDB - Debugger
Reporter: Frédéric THOMAS
Steps to reproduce using this project http://gotoandlearn.com/play.php?id=169 :
Apache fdb (Flash Player Debugger) [build 20140426]
Copyright 2014 The Apache Software Foundation.
(fdb) run
Waiting for Player to connect
Player connected; session starting.
Set breakpoints and then type 'continue' to resume the session.
(fdb) c
[SWF] C:\work\flex_projects\MP3Worker\bin-debug\MP3Worker.swf - 175а169 bytes
after decompression
!linePrefixWhenWorkerCreated! 1
Additional ActionScript code has been loaded from a SWF or a frame.
To see all currently loaded files, type 'info files'.
!workerChanged! 1
Set additional breakpoints as desired, and then type 'continue'.
(fdb) info workers
!mainThread! 0 - !workerRunning!
!inWorker! {worker=1} - !workerSuspended! !workerSelected! // worker 1 is
active
[SWF] C:\work\flex_projects\MP3Worker\bin-debug\MP3Worker.swf - 493а264 bytes
after decompression
Set additional breakpoints as desired, and then type 'continue'.
(fdb) worker 0
!workerChanged! !mainThread! // fdb says that active worker is now mainThread
Set additional breakpoints as desired, and then type 'continue'.
(fdb) info workers
!mainThread! 0 - !workerRunning!
!inWorker! {worker=1} - !workerSuspended! !workerSelected! // but in fact
worker 1 remains active
Set additional breakpoints as desired, and then type 'continue'.
(fdb) c
halt
Do you want to attempt to halt execution? (y or n) y
Attempting to halt.
To help out, try nudging the Player (e.g. press a button)
Execution halted at 0x00009aeb (39659)
(fdb) worker 0
!workerChanged! !mainThread!
(fdb) halt
Attempting to suspend Player execution...
Player stopped
(fdb) info workers
!mainThread! 0 - !workerSuspended! !workerSelected!
!inWorker! {worker=1} - !workerSuspended!
(fdb) show files
1 /Users/leebrimelow/Documents/Adobe Flash Builder
4.6/MP3Worker/src/MP3Worker.as, MP3Worker.as (!mainThread!)
2 /Users/leebrimelow/Documents/Adobe Flash Builder
4.6/MP3Worker/src/Workers.as, Workers.as (!mainThread!)
1 /Users/leebrimelow/Documents/Adobe Flash Builder
4.6/MP3Worker/src/BackWorker.as, BackWorker.as (!inWorker! {worker=1})
2 /Users/kikko/work/tests/shineMP3_alchemy/src/fr/kikko/lab/ShineMP3Encoder.as,
ShineMP3Encoder.as (!inWorker! {worker=1})
(fdb) break BackWorker.as:26 // there's no BackWorker.as file for active
worker (which is mainThread)
Breakpoint 1: file MP3Worker.as, line 26 // fdb sets the breakpoint for a
different file instead. I think because it also has id=1
--
This message was sent by Atlassian JIRA
(v6.2#6252)