Debug windows in V4 |
Site Admin
|
ok. It make sense.
since v4 PhpED supports "adaptive" gui. It means that depending on the mode it's in, it builds up different layouts and each layout is stored separately. In other words, when you start debug session IDE turns into debug layout which shows all the debug windows by default. When it finishes, the IDE returns back to normal layout where all the debug windows are not shown (by default). Whatsoever changes you do to the layout are stored. For example if during "normal" mode you make View->Debug->Watches visible, it remains visible in this mode. You may leave the IDE and start it again and this window will remain visible. When you start debug session, another layout starts and therefore Watches may appear in another location depending on where you put it on during previous debug session.
It greatly depends on the hardware. I can only promise to try to make it working faster in the future builds. |
||||||||||||||||||
|
|
OK but it returns to normal layout even though I haven't finished the debug session - I've just reached a breakpoint. Would it not be possible to only return to normal layout when the debug session is truly over? If editing is switched off for debugging, then normal layout is of no use at that stage anyway. It would save a lot of window switching. In other words, single-stepping keeps the debug layout, but running from breakpoint to breakpoint switches to normal layout. |
||||||||||||||
|
Site Admin
|
Hmm, it returns to normal only when your script is done. Regardless if new script is going to start by for example redirect or not. In other words, after you started for example index.php (with all included files) IDE stops at the breakpoints etc and keeps Debug Layout until index.php is finished. If index.php redirects to say home.php by issuing Location header, IDE will switch to normal and then return back to debug as soon as home.php starts. If under some conditions real behaviour of the IDE differs from what described above, I'll highly appreciate if you contact Support by email with all the details. |
||||||||||||||
|
|
I found that it might "feel" very slow if - for some reason - some of the sliding tabs scroll in when switching to the "debug" layout. Especially when loading a frameset that triggers several debugger runs and thus several switches to the "debug" layout, that means you - switch mode - scroll in - scroll out - switch back - switch to debug again - scroll in - scroll out... Try "pinning" the windows to avoid scrolling, that improves the situation. Another point is that I sometimes have the feeling that creating new windows takes a short time. So if in debug mode, you have another window (an "undocked tab", floating window) maybe on another screen, with every switch to debug layout it takes a little.
This is another point where you might want to improve things: Maybe it is possible for the IDE to detect that there are several outstanding requests in the debugger queue? In this case, you could just stay in debug mode and save a little time. Or, alternatively, when the debugger finished, just wait for a fraction of a second before switching back to normal layout - just in case another debug request is going to come |
||||||||||||||||
|
Debug windows in V4 |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by