[Lazarus] Lazarus ignores my breakpoints

Graeme Geldenhuys graemeg.lists at gmail.com
Tue May 5 14:22:21 CEST 2009

On Tue, May 5, 2009 at 1:31 PM, Vincent Snijders
<vincent.snijders at gmail.com> wrote:
> The color of the breakpoint seems to indicate there is no line info for

With my color scheme in says:  "invalid breakpoint"

> that unit. Can you attach the debug output (maybe zipped) (View -> Debug
> Windows -> Debug Output).

Umm, another new window I didn't know about. :-)

The output has been attached as an archive.  The most interesting bit
is probably the last few lines which looks like this. I guess that is
the problem - though I have no clue how to fix it.


&"mi_cmd_symbol_list_lines: Unknown source file name.\n"

^error,msg="mi_cmd_symbol_list_lines: Unknown source file name."


<-symbol-list-lines tiObject_TST.pas>
&"mi_cmd_symbol_list_lines: Unknown source file name.\n"

^error,msg="mi_cmd_symbol_list_lines: Unknown source file name."



And for completeness, below is when FPC compiler parameters that
Lazarus IDE generates:

 -MObjFPC -O1 -gl -vewnhi -l -Fi../../Core/ -Fu../Common/ -Fu../Tests/
-Fu../../../../../../../../opt/lazarus/packager/units/i386-linux/ -Fu.
-vm5024 -otextrunner -FU_Dcu

....or without relative paths....

 -MObjFPC -O1 -gl -vewnhi -l
-Fu. -vm5024 -FE/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-otextrunner -FU_Dcu

And here is the directory layout as it is on my system.
$ tree.sh

   |---Tests             <===== unit tests and unit I want to set breakpoint in
   |---Text               <===== Program executable and source code
   |-----_Dcu           <===== compiled units go here


Hope this helps!

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_output.txt.tar.gz
Type: application/x-gzip
Size: 2418 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090505/dd70942d/attachment-0007.bin>

More information about the Lazarus mailing list