You are here: Re: php extension debugger « PHP Programming Language « IT news, forums, messages
Re: php extension debugger

Posted by Chung Leong on 11/02/05 06:52

Ben wrote:
> Hello,
>
> I'm a very, very novice C programmer and I have written an extension
> for php that does its purpose well, or at least it used to until they
> asked for that one extra feature. It's a very little thing, very easy,
> but damn it all, it has a mysterious bug. I tracked it down to one
> specific line where the weirdness occurs, but I can't figure out *why*
> it is occuring.
>
> This extension uses the php_streams and as such, is wed enough to php
> that my first inclination (compile it on its own and debug it that way)
> is a no-go. Is there any way to use a debugger on this so I can step
> through it?

What platform are you on? If you're using Visual Studio on Windows,
what you do is attach the debugger to the Apache process then set the
break points. Upon hitting the page the debugger will stop the process
at the break point for you to trace through.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация