comp.lang.ada
 help / color / mirror / Atom feed
* gnat debuggers?
@ 1996-04-17  0:00 Patrik Sj�gren
  1996-04-18  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Patrik Sj�gren @ 1996-04-17  0:00 UTC (permalink / raw)


Ok, this maybe an obvious FAQ but here goes....

What unix-debuggers are available for gnat users?

I use a gnatified gdb with mxgdb as shell but have
found it not to be as efficient as i hoped it would be.
This is mainly due to lack of two functions:
1) Make a breakpoint stop all tasks. 
   Stepping is impossible (or at least very hard) if you have several
   tasks in your application.
2) Setting breakpoints on exception occurence.
   This would make some extra test-code unneccesary.

	/Patrik Sjogren

-- 
\_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_\_
  Patrik Sj�gren
  Ericsson Microwave Systems AB
  Display- and Reconnaissance     Phone: (+46) 13 - 28 41 42
  Systems Division                Fax:   (+46) 13 - 28 42 80
  LM/EMW/FD/KL                    Email: Patrik.Sjogren@lmemw.ericsson.se
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnat debuggers?
  1996-04-17  0:00 gnat debuggers? Patrik Sj�gren
@ 1996-04-18  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-04-18  0:00 UTC (permalink / raw)


Patrik worried that GDB did not have the following feature:

2) Setting breakpoints on exception occurence.

This is possible, see gnatinfo.txt for documentation (breakpoint __gnat_raise)

As for breakpoints in tasks, for me it works to set a conditional breakpoint
that tests current_task. You have to with ada.task_identification in your
program.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-18  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-17  0:00 gnat debuggers? Patrik Sj�gren
1996-04-18  0:00 ` Robert Dewar

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