Recent

Author Topic: What have I to do to make the debuger working ?  (Read 4268 times)

progamat

  • New Member
  • *
  • Posts: 32
What have I to do to make the debuger working ?
« on: November 07, 2010, 09:55:58 am »
Sorry, I am surely dumbass, but impossible to have some debugging :

lazarus 0.9.29, win 32 vista

Configuration->options->debuger :

gdb checked

path filled

log : no changes - so debuger checked

I read somewhare that I have to add a -g or -gl on a directive line, but I don't find where (surely in the project options, but where : libraries ? included files ? .... where ?)

....and perhaps others things I missed.

I didn't find some tuto, to help with those basic fittings  %) surely too basic, but I am realy noob

Tx for any help
« Last Edit: November 07, 2010, 09:58:49 am by progamat »

ivan17

  • Full Member
  • ***
  • Posts: 173
Re: What have I to do to make the debuger working ?
« Reply #1 on: November 26, 2010, 02:18:19 pm »
well it's supposed to work without you touching anything, so what were the symptoms that caused you to poke at it?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9864
  • Debugger - SynEdit - and more
    • wiki
Re: What have I to do to make the debuger working ?
« Reply #2 on: November 26, 2010, 02:37:41 pm »
1)
Quote
Configuration->options->debugger :
gdb checked
path filled
path filled with what? C:\lazarus\...\gdb.exe ?

2)
Menu: Project / Project options
page: linking

"generate dwarf debug info" should be checked

alternatively the first option (-g)
In either case also add -gl

3)
Try disabling your anti virus.
At least comodo (firewall) and bitdefender are known to dislike gdb

4) if nothing helps:
what is the output in this window:
Menu View / debug windows / debug output

 

TinyPortal © 2005-2018