[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.


===================================
(gdb)

<-symbol-list-lines
/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Tests/tiObject_TST.pas>
&"mi_cmd_symbol_list_lines: Unknown source file name.\n"

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

(gdb)

<-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."

(gdb)

===================================


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../../Compilers/FPC/lib/i386-linux/
-Fu../../../../../../../../opt/lazarus/packager/units/i386-linux/ -Fu.
-vm5024 -otextrunner -FU_Dcu

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

 -MObjFPC -O1 -gl -vewnhi -l
-Fi/home/graemeg/programming/3rdParty/tiOPF2/Source/Core/
-Fi/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Common/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Tests/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/Compilers/FPC/lib/i386-linux/
-Fu/opt/lazarus/packager/units/i386-linux/
-Fu/home/graemeg/programming/3rdParty/tiOPF2/Source/UnitTests/Text/
-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

/home/graemeg/programming/3rdParty/tiOPF2/Source
   .
   |-Compilers
   |---FPC
   |-----lib
   |-------i386-linux
   |-Core
   |-GUI
   |---LCL
   |---VCL
   |-Options
   |-UnitTests
   |---Common
   |---_Data
   |---GUI
   |-----_Dcu
   |-----Log
   |---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!


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
-------------- 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