comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.org>
Subject: Re: How to debug?
Date: 06 May 2004 20:22:42 +0200
Date: 2004-05-06T18:22:48+00:00	[thread overview]
Message-ID: <uzn8ltnyl.fsf@obry.org> (raw)
In-Reply-To: mailman.76.1083776812.313.comp.lang.ada@ada-france.org


Marius Amado Alves <maa@liacc.up.pt> writes:

> I'm on Windows XP, with GNAT 3.15p. I tried GVD and gdb to no avail (yes, 
> compiled with the -g option). Would it work on Linux?

I can't comment about your specific problem, but definitly this should work.

> Do I have to catch the exception, perhaps just to put a breakpoint in the 
> handler?
> 
> Sometime ago, I think with GNAT 3.13p or 3.14p, I also tried instrumenting
> my  code with GNAT's Symbolic_Traceback but it also didn't work. Would it
> work  now with version 3.15p?

Symbolic_Traceback also works fine with GNAT on Windows.

> Would GPS do the trick?

Yes, and it uses GDB to launch a debug session, the proof that GDB works
just fine :)

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  parent reply	other threads:[~2004-05-06 18:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 17:30 How to debug? Marius Amado Alves
2004-05-05 20:12 ` Simon Wright
2004-05-06 12:41 ` Matthew Heaney
2004-05-06 18:22 ` Pascal Obry [this message]
     [not found] <200405051830.03021.maa@liacc.up.pt>
2004-05-05 18:27 ` David C. Hoos
2004-05-05 20:17   ` Simon Wright
     [not found] ` <05ff01c432ce$9617a400$b101a8c0@sy.com>
2004-05-05 19:35   ` Marius Amado Alves
2004-05-05 19:20     ` Ludovic Brenta
2004-05-06 10:11 ` Marius Amado Alves
     [not found] ` <200405061111.02046.maa@liacc.up.pt>
2004-05-07  2:20   ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2004-05-06 14:10 Jerry van Dijk
2004-05-06 15:13 ` Marius Amado Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox