I created a base class that the workers extend but doesn't seem to work, did I miss something ?
/** * User: DoubleFx Date: 30/04/2014 Time: 17:34 */ package { import flash.display.Sprite; import flash.system.Capabilities; import flash.utils.setInterval; public class DebugWorker extends Sprite { public function DebugWorker() { // Stick a timer here so that we will execute script every 1.5s // no matter what. // This is strictly for the debugger to be able to halt. // Note: isDebugger is true only with a Debugger Player. if (Capabilities.isDebugger == true) { setInterval(debugTickler, 1500); } } /** * @private * This is here so we get the this pointer set to Application. */ private function debugTickler():void { // We need some bytes of code in order to have a place to break. var i:int = 0; } } } Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FDB] Integration > Date: Wed, 30 Apr 2014 16:18:04 +0000 > > > > On 4/30/14 8:49 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > > >Could be a solution, you meant like the idleTimer in SystemManager ? > Actually, I was referring to debugTickler in Application.as (both mx and > spark). > > -Alex >