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: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ [email protected]/
Dev site: http://dev.catalyst.perl.org/

---
michael reece :: software engineer :: [EMAIL PROTECTED]


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to