Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-05

debugging

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi!

I need to hunt a bug that is very hard to catch, because it occurs somewhere in event handling proc and funcs of gtk1.2.

Can someone please point me to FAQs and how-to's on the debugging topic? Or tell me some tricks?

Until now I'm not very familiar with gsb, especially in combination with pascel...

TIA,
Marc

Marc Santhoff
to Marc Santhoff
Show quoted text 10 lines
Hi! I need to hunt a bug that is very hard to catch, because it occurs somewhere in event handling proc and funcs of gtk1.2. Can someone please point me to FAQs and how-to's on the debugging topic? Or tell me some tricks? Until now I'm not very familiar with gsb, especially in combination with pascel...

(should be: gdb and pascal ... ;)

Okay, I've found something:

'ddd' is what I need (somewhat like the debugger from Delphi)

Look at http://www.gnu.org/software/ddd/

Thank for attention,
Marc

vs
to Marc Santhoff
Show quoted text 8 lines
-----Oorspronkelijk bericht----- Am Mi, den 05.05.2004 schrieb Marc Santhoff um 23:20: > Hi! > > I need to hunt a bug that is very hard to catch, because it occurs > somewhere in event handling proc and funcs of gtk1.2. > > Can someone please point me to FAQs and how-to's on the debugging

topic?

> Or tell me some tricks? > > Until now I'm not very familiar with gsb, especially in combination

with

Show quoted text 12 lines
> pascel... (should be: gdb and pascal ... ;) Okay, I've found something: 'ddd' is what I need (somewhat like the debugger from Delphi) Look at http://www.gnu.org/software/ddd/ Thank for attention, Marc

There is also a graphical wrapper around gdb called insight. I am using that most of the time.

I had no trouble compiling it from source on linux. You might find some older rpm's on the net. For windows you can install the cygwin version, you get it when you install gdb.

HTH,
Vincent.

vs
to Marc Santhoff: (should be: gdb and pascal ... ;) Okay, I've found something: 'ddd' is what I need…
Show quoted text 8 lines
-----Oorspronkelijk bericht----- Am Mi, den 05.05.2004 schrieb Marc Santhoff um 23:20: > Hi! > > I need to hunt a bug that is very hard to catch, because it occurs > somewhere in event handling proc and funcs of gtk1.2. > > Can someone please point me to FAQs and how-to's on the debugging

topic?

> Or tell me some tricks? > > Until now I'm not very familiar with gsb, especially in combination

with

Show quoted text 12 lines
> pascel... (should be: gdb and pascal ... ;) Okay, I've found something: 'ddd' is what I need (somewhat like the debugger from Delphi) Look at http://www.gnu.org/software/ddd/ Thank for attention, Marc

There is also a graphical wrapper around gdb called insight. I am using that most of the time.

I had no trouble compiling it from source on linux. You might find some older rpm's on the net. For windows you can install the cygwin version, you get it when you install gdb.

HTH,
Vincent.