Recent

Author Topic: how use the debug  (Read 7801 times)

angman

  • Jr. Member
  • **
  • Posts: 55
how use the debug
« on: October 20, 2006, 12:32:36 pm »
Hi, I am a newbie on lazarus, and I have many problems in debug a little test program under linux.

I compiled the program including debugger info for gdb, gdb is setted and also his path under debugger option.

In the ide I seted some breakpoint, then push  the run button, the application start and executes without any stop.

There is some tutorial or manual on the use of debug?

Thanks,  angman :roll:

angman

  • Jr. Member
  • **
  • Posts: 55
how use the debug
« Reply #1 on: October 20, 2006, 01:05:46 pm »
Ok now the debug work, was not setted correctly.

angman

pietrobossi

  • Newbie
  • Posts: 4
how use the debug
« Reply #2 on: February 22, 2007, 10:40:09 pm »
Hi, sorry newbie tooo !!

I ran in the same problem, i set the basic gdb options, but debugger never stop..., the breakpoint is a ? (questionmark) when set and a X when i run program.

Could you please explain me what did you do to get gdb working ?

TNX Pietro

angman

  • Jr. Member
  • **
  • Posts: 55
how use the debug
« Reply #3 on: March 16, 2007, 02:39:29 pm »
Sorry for the late response.

You olny need in the menu evironmet->debugger otion
set the correct path to your gdb.exe deugger yhat should be in
/lazarus/mingw/bin directory.

and then under the menu Project->compiler option

in the dialog in the linker tab, you must chek the generate debugger information.

then build all
And now you should be good.

bye,  Angman

 

TinyPortal © 2005-2018