Re: Strategies for using the debugger with complex applications

[email protected] (Andrew Brosnan) Thu, 3 Dec 2009 15:28:39 -0500
Newsgroups perl.debugger
Message-ID <[email protected]>
Worked like a charm Peter. Thank you so much!


On Dec 3, 2009, at 10:48 AM, Peter Scott wrote:

> On Sat, 28 Nov 2009 16:05:35 -0500, Andrew Brosnan wrote:
>
>> Hello,
>>
>> I'm curious about the strategies that others use for running more
>> complex applications in the debugger. A content management system for
>> example might require session data and user input in order to run  
>> it's
>> code, all of which gets processed along a journey through a large  
>> stack.
>> How can I do 'something' in a browser and then run that same  
>> request in
>> the debugger?
>>
>> I see that Apache::DB does something similar where you can initiate a
>> request in a browser and then control it in the debugger. But what if
>> the app is not running mod_perl?
>
> If the program is a CGI then you can wrap it such that it runs ptkdb  
> and
> remotes the debugger display to your screen via X.  Then you invoke it
> form a browser and the debugger runs on the server invocation itself.
> Look up ptkdb documentation.
>
> -- 
> Peter Scott
> http://www.perlmedic.com/
> http://www.perldebugged.com/
> http://www.informit.com/store/product.aspx?isbn=0137001274