Not sure how much extra work it would cost to add this feature as default in the form of a command line input at the botton of the debug/console view and the output in the main part of the console view but it would be a "very nice to have" to interact directly with FDB and give us the possibility to play at worker instance level.
Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: [FDB] Integration > Date: Thu, 29 May 2014 14:28:34 +0100 > > Just tried it, not user friendly :-) but very nice feature to achieve my > goal, thanks for the trick. > > Frédéric THOMAS > > > Date: Thu, 29 May 2014 17:08:31 +0400 > > From: alexander.doros...@jetbrains.com > > To: dev@flex.apache.org > > Subject: Re: [FDB] Integration > > > > There's already such action, but we think that it can be useful for IDE > > developers only, so it is hidden. To get it add -Didea.is.internal=true > > to the *.vmoptions file [1]. Run | Send Commands To Flex Debugger will > > appear. Fdb should have (fdb) prompt available when you use it. Dialog > > layout may be awful, you'll have to resize it. > > > > [1] https://intellij-support.jetbrains.com/entries/23395793 > > > > On 29.05.2014 17:00, Frédéric THOMAS wrote: > > > Thanks for having made it clearer, got your point but in this case, could > > > we imagine a pass through, i.e. in the debug window, an input for > > > commands to pass directly to FDB ? > > > > > > Frédéric THOMAS > > > > > >> Date: Thu, 29 May 2014 16:51:58 +0400 > > >> From: alexander.doros...@jetbrains.com > > >> To: dev@flex.apache.org > > >> Subject: Re: [FDB] Integration > > >> > > >> On 29.05.2014 16:29, Frédéric THOMAS wrote: > > >>>> IDE will not set/remove breakpoints per worker, only for all workers, > > >>>> this seems to be what users expect. > > >>> Really ? look at the Java breakpoint window, it allows to set a BP for > > >>> all threads and also for a particular thread if I'm not wrong, why not > > >>> for Flex as it is now possible ? we don't have the same needs and > > >>> expetactions than the Java devs ? > > >> In Java you can't select thread for which to set the breakpoint. You can > > >> select what to suspend when breakpoint is hit: affected thread only or > > >> all threads. Translating to Flash it means: > > >> - suspend all threads (default in Java): when breakpoint is hit, iterate > > >> all workers with 'worker X' and send 'halt'; > > >> - suspend affected thread only: default fdb behavior. > > >> In Java there's nothing similar to 'set breakpoint for selected thread > > >> only' and I can hardly imagine UI for it. > > >> As a start I think I'll support default fdb behavior, i.e. suspend only > > >> affected worker. > > > > > >