debugging with Linux ? lazarus / 12-Debugger ---------------------------------------------------------------------- Snubnose · 2005-04-07 08:41 Hi guys... I tried to debug my new Lazarus Project but failed baldy (linux - Lazarus 0.9.6). When i try to set breakpoints I only get these questionmarks and it doesn't work. (win32 works perfect - but I would prefer linux) My question: is it possible to get the Lazaruz-IDE debugging my project ? Are there any hidden switches which must be turned on ? Thanks in advance...   Michael ---------------------------------------------------------------------- Marc · 2005-04-07 09:45 On Linux: Did you define a debugger (and a correct path) ? And what version of gdb are you using ? ---------------------------------------------------------------------- Vincent Snijders · 2005-04-07 09:51 I don't know of hidden switches. Debugging usually works better on linux than on win32. It is possible to debug your project on linux with Lazarus. ---------------------------------------------------------------------- Anonymous · 2005-04-08 07:48 thanks a lot i just had to select gdb in settings->debugger options and insert /usr/bin/gdb lazarus roxx hard ---------------------------------------------------------------------- berghem · 2005-11-07 20:10 Quote from: "Anonymous"thanks a lot i just had to select gdb in settings->debugger options and insert /usr/bin/gdb lazarus roxx hard I have the same problem, but when i click on the bottom, i can't press F7 or F8, and i don't see the variable value. Why? ---------------------------------------------------------------------- Marc · 2005-11-08 11:37 when you click on the bottom ? the bottom of what ? ---------------------------------------------------------------------- Anonymous · 2005-11-08 19:59 Quote from: "Marc"when you click on the bottom ? the bottom of what ? Sorry     the "button" ---------------------------------------------------------------------- Marc · 2005-11-09 10:21 which button ? ---------------------------------------------------------------------- berghem · 2005-11-14 20:14 this is my procedure and I Have a breakpoint on the for procedure TForm1.Button1Click(Sender: TObject); var    i,t : word; begin    t := 1;    for i := 1 to 10 do begin   ////BREAKPOINT        t := t * i;    end;    Label1.Caption:= IntToStr(t); end; when I press the button I get in the source code but I don't see the variables values (in my case t and i) I moved the mouse on the i and t but nothing. WHY? Sorry for my english ---------------------------------------------------------------------- matthijs · 2005-11-15 06:09 You expect a hint showing the value of the variable when you move the mouse over the variable? I do not think it is implemented (yet). ---------------------------------------------------------------------- Marc · 2005-11-15 10:48 This is implemented You have to turn it on in: Environment - Editor options, Code tools tab, Tooltip expression evaluation ---------------------------------------------------------------------- berghem · 2005-11-15 18:03 That chech is checked :?  But I don't see the Hints with the value of variable ---------------------------------------------------------------------- Marc · 2005-11-16 09:46 1) while debugging, do you see some output in the view debugger output window ? 2) if you use evalueate expression, dou you get a value BTW, you only can see values when the debugger is paused (you hit a breakpoint) ---------------------------------------------------------------------- SergKam · 2006-01-24 14:29 Where? On windows(XP SP2) and lazarus(snapshot from 23dec2005 to now). I check "use evalueate expression" i set breakpoint. in "Watch list" i see needed value. but no hints. (same on linux ASPLinux) ??????????