develooper Front page | perl.debugger | Postings from December 2009

Re: Strategies for using the debugger with complex applications

Thread Previous
From:
Andrew Brosnan
Date:
December 3, 2009 12:28
Subject:
Re: Strategies for using the debugger with complex applications
Message ID:
1E5D40F0-60E4-46FC-AEA9-3BD75D76B8E4@broscom.com
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


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About