Re: [PECL-DEV] My first patch: AMFEXT

[email protected] ("Gustavo Lopes")
Newsgroups php.pecl.dev
Organization Núcleo de Eng. Biomédi ca do IST
Message-ID <op.vgmnybfwidpuyk@cataphract>
On Thu, 29 Jul 2010 23:13:50 +0100, J. Adams <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.