Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34292

Can't select another worker while a pending prompt is required

    XMLWordPrintableJSON

    Details

      Description

      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
      Unable to render embedded object: File (linePrefixWhenWorkerCreated) not found. 1
      Additional ActionScript code has been loaded from a SWF or a frame.
      To see all currently loaded files, type 'info files'.
      Unable to render embedded object: File (workerChanged) not found. 1

      Set additional breakpoints as desired, and then type 'continue'.
      (fdb) info workers
      Unable to render embedded object: File (mainThread) not found. 0 - Unable to render embedded object: File (workerRunning) not found.
      Unable to render embedded object: File (inWorker) not found.

      {worker=1} - Unable to render embedded object: File (workerSuspended) not found. Unable to render embedded object: File (workerSelected) not found. // 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
      Unable to render embedded object: File (workerChanged) not found. Unable to render embedded object: File (mainThread) not found. // fdb says that active worker is now mainThread
      Set additional breakpoints as desired, and then type 'continue'.
      (fdb) info workers
      Unable to render embedded object: File (mainThread) not found. 0 - Unable to render embedded object: File (workerRunning) not found.
      Unable to render embedded object: File (inWorker) not found. {worker=1}

      - Unable to render embedded object: File (workerSuspended) not found. Unable to render embedded object: File (workerSelected) not found. // 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
      Unable to render embedded object: File (workerChanged) not found. Unable to render embedded object: File (mainThread) not found.
      (fdb) halt
      Attempting to suspend Player execution...
      Player stopped
      (fdb) info workers
      Unable to render embedded object: File (mainThread) not found. 0 - Unable to render embedded object: File (workerSuspended) not found. Unable to render embedded object: File (workerSelected) not found.
      Unable to render embedded object: File (inWorker) not found.

      {worker=1} - Unable to render embedded object: File (workerSuspended) not found.
      (fdb) show files
      1 /Users/leebrimelow/Documents/Adobe Flash Builder 4.6/MP3Worker/src/MP3Worker.as, MP3Worker.as (Unable to render embedded object: File (mainThread) not found.)
      2 /Users/leebrimelow/Documents/Adobe Flash Builder 4.6/MP3Worker/src/Workers.as, Workers.as (Unable to render embedded object: File (mainThread) not found.)
      1 /Users/leebrimelow/Documents/Adobe Flash Builder 4.6/MP3Worker/src/BackWorker.as, BackWorker.as (Unable to render embedded object: File (inWorker) not found. {worker=1}

      )
      2 /Users/kikko/work/tests/shineMP3_alchemy/src/fr/kikko/lab/ShineMP3Encoder.as, ShineMP3Encoder.as (Unable to render embedded object: File (inWorker) not found.

      {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

        Attachments

        1. fdb.jar
          623 kB
          Frédéric THOMAS

          Activity

            People

            • Assignee:
              doublefx Frédéric THOMAS
              Reporter:
              doublefx Frédéric THOMAS
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: