id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1416	Debug::Client::set_breakpoint ignores some errors	whumann	bowtie	"Look at the following trace of subs-calls:

{{{
->Padre::Wx::Panel::Debugger::on_running_bp_clicked(Padre::Wx::Panel::Debugger, Wx::CommandEvent)
|   ->Padre::Wx::Panel::Breakpoints::on_set_breakpoints_clicked(Padre::Wx::Panel::Breakpoints)
|   |   ->Padre::Wx::Panel::Breakpoints::_setup_db(Padre::Wx::Panel::Breakpoints)
|   |   ->Padre::Wx::Panel::Breakpoints::_add_bp_db(Padre::Wx::Panel::Breakpoints)
|   |   ->Padre::Wx::Panel::Breakpoints::on_refresh_click(Padre::Wx::Panel::Breakpoints)
|   |   |   ->Padre::Wx::Panel::Breakpoints::_update_list(Padre::Wx::Panel::Breakpoints)
|   < HASH
|   ->Debug::Client::set_breakpoint(Debug::Client, /home/user/somedir/mytool, 436)
|   |   ->Debug::Client::_send(Debug::Client, f /home/user/somedir/mytool)
|   |   ->Debug::Client::_get(Debug::Client)
|   |   < No file matching `/home/user/somedir/mytool' is loaded.
		  DB<23>
|   |   ->Debug::Client::_send(Debug::Client, b 436)
|   |   ->Debug::Client::_get(Debug::Client)
|   |   <   DB<24>
|   |   ->Debug::Client::_prompt(Debug::Client, \'  DB<24> ')
|   |   < 24
|   < 1
|   ->Debug::Client::__send(Debug::Client, L b)
|   |   ->Debug::Client::_send(Debug::Client, L b)
|   |   ->Debug::Client::_get(Debug::Client)
|   |   < /home/user/somedir/lib/View.pm:
          436:                   $para_ref = {symbol => $symbol, %$para_ref};
           break if (1)
}}}


1. 
After 
Debug::Client::_send(Debug::Client, f /home/user/somedir/mytool)
Debug::Client::_get()
returns 'No file matching...'. 
It should not proceed after that error, instead the error should be reported to the user. It still does 
Debug::Client::_send(Debug::Client, b 436)
But because setting the file failed, the breakpoint ends up in the previously selected file 'View.pm' instead of 'mytool' (as can be seen in the listing at the end of the trace above)

2. 
'/home/user/somedir/mytool' is loaded in Padre. The debugger however rejects 'f /home/user/somedir/mytool' and expects 'f mytool' for the main-file of the project. For the libs in '/home/user/somedir/lib' the debugger is fine with e.g. 'f /home/user/somedir/lib/View.pm'.
I'm not sure about the fine points but in some cases the filename needs to be translated for the debugger to understand it."	defect	closed	minor		Debugger for Perl 5	0.95	fixed		
