Re: debugging PECL extension with eclipse or other IDE
| From: | Johannes Schlüter | Date: | Mon, 18 Apr 2011 14:15:24 +0000 |
| Subject: | Re: debugging PECL extension with eclipse or other IDE | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8114@lists.php.net to get a copy of this message | ||
On Sun, 2011-04-17 at 10:11 +0200, Pierre Joye wrote:
> hi,
>
> I don't think it is possible unless you can attach bins at runtime to
> these debuggers.
>
> You should use GDB and one of its graphical frontends if a console
> tool is not your cup of team.
Eclipse CDT, NetBeans, kdevelop, ... and whatever you find are frontends
to gdb. They all allow attaching a debugger to a running process as well
as starting a program under the debugger.
Often you can't easily type in custom gdb commands though. So you can
make use of the .gdbinit macros provided, which can be a down side ...
But that are mostly questions fro the different IDE vendors and
independent from PHP. I think it is always good to first get the
understanding of the tools and environments (therefore use it at command
line) and then use a funky shiny GUI for things where it brings benefit
(sometimes GUIs have nice ways to show data structures etc. which can
become messy on command line) while knowing what's actually going on.
johannes