Recent

Author Topic: Setup Debugger in Win32  (Read 9530 times)

didi

  • Guest
Setup Debugger in Win32
« on: May 13, 2004, 06:14:39 pm »
Hi,
I'm having troubles setting up the debugger in Lazarus so that I can run/trace thru the code. Is it possible yet and if so, how can I set it up ?

Error : "Debugger error"
          "Ooops, the debugger entered the error state"

current debugger options :
  type = GNU debugger (gdb)
  path = C:\lazarus\pp\bin\win32\gdbpasw.exe

Anny help would be appreciated !

Thanks in advance.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Setup Debugger in Win32
« Reply #1 on: May 13, 2004, 06:55:33 pm »
It was possible for a short time about 3 months ago. Lately I tried I again, but it didn't work then. I didn't have any time to find the cause  of this error.

Anonymous

  • Guest
Setup Debugger in Win32
« Reply #2 on: May 16, 2004, 01:28:11 pm »
In the Text screen of Lazarus I see the following error :
"[TCmdLineDebugger.SendCmdLn] Unable to send <-gdb-set confirm off>. No process running."
I'll also "TRY" and have a look !?!

Thanks
  Didi

Reenen

  • New Member
  • *
  • Posts: 29
    • http://daringapprentice.wikispaces.com
Setup Debugger in Win32
« Reply #3 on: April 26, 2005, 12:04:28 pm »
Ok, almost a year later... I inserted a breakpoint... But the program does not break.  How am I supposed to stop it?

-Reenen

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Setup Debugger in Win32
« Reply #4 on: April 26, 2005, 02:17:29 pm »
I just tried for myself and had no problem. I create a new project with a button and started the project.

I clicked in the margin of an event handler and a red button showed. Then when a clicked on the button, the program paused asked me to locate the unit1.pas file. Since I didn't save the test project it was in the temp directory. After that I could step through the event handler.

Did you set the debugger correctly in the debugger options?

 

TinyPortal © 2005-2018