mod_perl debugger ignores breakpoints

Kiffin Gish <[email protected]> Tue, 03 Aug 2010 12:42:56 +0200
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
I followed the help section on debugging mod_perl 'exactly' and still
cannot debug because my breakpoints are being ignored for some reason.

When I access the remote cgi script, everything stops alright and puts
me in the Komodo IDE right at the request handler sub.

However, if I hit go, the script completes without ever having stopped
at the defined breakpoint.

I'm using the following versions:

 - Ubuntu 10.04 LTS Lucid Lynx
 - Linux ws20 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC
2010 x86_64 GNU/Linux
 - Apache 2.2
 - Komodo IDE, version 5.2.4, build 37659, platform
linux-libcpp6-x86_64. Built on Tue Dec 8 18:18:05 2009.


Here's the output I see in the apache error log.

--- start ---
Interapy::WebApplication, /home/httpd/I3/libraries/perl_lib/Interapy/WebApplication.pm, 130
file:/home/httpd/I3/libraries/perl_lib/Interapy/WebApplication.pm,
line:130, package:Interapy::WebApplication
Got command [feature_get -n supports_async -i 1]
Got command [feature_get -n language_name -i 2]
Got command [feature_get -n language_version -i 3]
Got command [feature_get -n max_children -i 4]
Got command [feature_get -n max_data -i 5]
Got command [feature_get -n max_depth -i 6]
Got command [feature_get -n show_hidden -i 7]
Got command [feature_get -n supports_postmortem -i 8]
Got command [feature_set -n multiple_sessions -v 1 -i 9]
Got command [feature_set -n notify_ok -v 1 -i 10]
Got command [feature_get -n break -i 11]
Got command [feature_get -n eval -i 12]
Got command [feature_get -n stdin -i 13]
Got command [feature_get -n detach -i 14]
Got command [feature_get -n interact -i 15]
Got command [feature_get -n breakpoint_languages -i 16]
Got command [typemap_get -i 17]
Got command [feature_get -n urimap -i 18]
Got command [breakpoint_set -t line -f
file:///home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm -n 340 -s enabled -r 0 -h 0 -i 19]
Curr file =
|/home/httpd/I3/libraries/perl_lib/Interapy/WebApplication.pm|, bpt set
for file
|/home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm|,
bStateVal = |2|, $bFileURI = |
file:///home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm|
Got command [context_names -i 20]
Got command [feature_get -n pretty_print -i 21]
Got command [stdout -c 1 -i 22]
Got command [stderr -c 1 -i 23]
Got command [feature_set -n max_data -v 10240 -i 24]
Got command [feature_get -n max_data -i 25]
Got command [feature_set -n max_children -v 25 -i 26]
Got command [feature_get -n max_children -i 27]
Got command [status -i 28]
Got command [stack_get -d 0 -i 29]
Got command [stack_get -i 30]
Got command [context_get -c 0 -d 0 -i 31]
main->getContextProperties: $currStackSize = 2
Doing prox vars for
file /home/httpd/I3/libraries/perl_lib/Interapy/WebApplication.pm[129 -
132]
_extract_var: var vs: $request
_extract_var: var vh: $SIG
_extract_var: var vh: $SIG
_extract_var: var vs: $t0
_extract_var: var vh: %rc
_extract_var: var vs: $cgi
_extract_var: var vs: $param
_extract_var: var vs: $cgi
_extract_var: var vh: $rc
_extract_var: var vs: $param
_extract_var: var vs: $Interapy::ARGSEP
_extract_var: var vs: $cgi
_extract_var: var vs: $param
eval($request) => <<>>
Got command [breakpoint_update -d 0 -s disabled -i 32]
failed to do op breakpoint_update (error code 205)
Got command [breakpoint_remove -d 0 -i 33]
remove_FileURI_LineNo_Breakpoint: No info $fileNameTable[9]
breakpoint_remove => <?xml version="1.0" encoding="UTF-8" ?>
<response xmlns="urn:debugger_protocol_v1" command="breakpoint_remove"
                                         transaction_id="33" />
Got command [breakpoint_set -t line -f
file:///home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm -n 340 -s enabled -r 0 -h 0 -i 34]
Curr file =
|/home/httpd/I3/libraries/perl_lib/Interapy/WebApplication.pm|, bpt set
for file
|/home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm|,
bStateVal = |2|, $bFileURI = |
file:///home/httpd/I3/libraries/perl_lib/Interapy/Workflow/Task/Rejection.pm|
Got command [breakpoint_update -d 1 -s enabled -n 340 -h 0 -r 0 -i 35]
failed to do op breakpoint_update (error code 205)
Got command [run -i 36]
lookupBkptInfo: No $fileNameURINo (8)
$fakeFirstStepInto was true, turning it off.
$single = 0
--- end ---

Thanks alot in advance,
Kiffin

-- 
Kiffin Gish <[email protected]>
Gouda, The Netherlands



_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss