[xdebug-general] Re: Suspend+resume execution from debugger

From: Stan Vass <sv_forums[@]fmethod.com>
Date: Mon, 1 Nov 2010 10:40:59 +0200

XDebug comes with a profile which you can enable globally or on a given
request (check docs).
Once you have a profile dump you can, in a very detailed manner, see what
takes long time.
If you still need to interactively debug there, you know now where it
happens, you can place a breakpoint.

Stan Vass

We use XDebug in a large number of PHP framework installations that we adapt 
a lot.
One issue that comes back often is to be able to break execution inside a 
living PHP request (connected to debugger on port 9000), in order to see 
what is going on (and taking long time).
Ideally, we hit a "break" button and the effect is the same as hitting a 
breakpoint. We can then check the stack trace to see what is going on.
I haven't seen this possibility in debuggers with XDebug backend.
Is it possible? Difficult to implement? Is it on a roadmap?
// Aren S.
- - - - - - - - - - - - - - - -
Arne Steinarson - Senior Developer
Email: arne[@]icommerce.se
Mobile: +46 (0)73 732 46 85
Icommerce Nordic AB - http://www.icommerce.se
Received on Mon Nov 01 2010 - 08:41:05 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST