realize GDB frontend lazarus / 12-Debugger ---------------------------------------------------------------------- thommy · 2007-07-19 16:19 Hello, i want to build a own frontend for GDB by using the lazarus code. Therefore i ask you the following: in the unit DebugManager.pas, there is the debug manager class and it has a event handler: p OnDebugCurrentLine(Sender: TObject; Location: TDBGLocationRec); Where to get the information for the TDBGLocationRec. In which unit(s) is to find the correct code? And What is the sender? Which class? In lazarus the debugger works fine. ---------------------------------------------------------------------- Marc · 2007-07-26 12:17 look in the debugger directory for debugger.pas BTW, you can use find declaration (ctrl+left mousebtn) to jump the the declaration of TDBGLocationRec or you can use find in files ---------------------------------------------------------------------- schöni · 2010-02-17 08:24 Hello, Here is the TDBGLocationRec structure:  TDBGLocationRec = record     Address: TDBGPtr;  //like int64     FuncName: String;     SrcFile: String;     SrcFullName: String;     SrcLine: Integer;   end; to find in unit debugger.