Re: My first patch: AMFEXT

From: Date: Thu, 29 Jul 2010 23:09:38 +0000
Subject: Re: My first patch: AMFEXT
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-7400@lists.php.net to get a copy of this message
On Thu, 29 Jul 2010 23:13:50 +0100, J. Adams <zardozrocks@gmail.com> wrote:
In the meantime, I desperately want to know how I might set up some kind of debugging situation whereby I might be privy to the inner workings of this code as it runs. Is there some way to enable traces from the code? Is there some IDE setup whereby I can set breakpoints, trace code, and inspect variable contents?
See what I wrote about --add-project-files. Once you have a working visual studio project, you can use its debugger. In fact, you don't even need a visual studio project. All you have to do is to have your extension compiled with debugging symbols (embedded or thorugh pdbs) and then you can attach to a running script (use e.g. exec('pause') to pause the script) with Debug > Attach to Process. -- Gustavo Lopes

« previous php.pecl.dev (#7400) next »