[Catalyst] perl -d myapp_server.pl : how ?

Michael Reece mreece at vinq.com
Fri Apr 27 17:24:32 GMT 2007


i usually stick $DB::single=1 at the top of the controller method i  
am debugging, then perl -d ./script/myapp_server.pl
it then drops to the debugger prompt after i make the http request.

On Apr 27, 2007, at 5:04 AM, Dami Laurent ((PJ)) wrote:

> Hello,
>
> The question was already asked in the list, but I can't remember of  
> any satisfying answer.
>
> Did anybody succeed in running the standalone server in debug mode ?
>
> Seems that the server main loop, waiting for HTTP events, is not  
> compatible with the debugger loop waiting for keyboard events.
>
> I'm able to set breakpoints after Catalyst has loaded all modules  
> and just before entering MyApp->run($port, $host ...) .. but the  
> breakpoints never actually break.
>
> Thanks in advance, L. Dami
>
> PS I'm running perl v5.8.8 built for MSWin32-x86-multi-thread,  
> Binary build 819 [267479] provided by ActiveState
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/ 
> catalyst at lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/

---
michael reece :: software engineer :: mreece at vinq.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070427/270b88e8/attachment-0001.htm


More information about the Catalyst mailing list