comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: Simple & fast question about tasks
Date: Mon, 26 Oct 2009 19:36:09 +0100
Date: 2009-10-26T19:35:55+01:00	[thread overview]
Message-ID: <4ae5ec0b$0$966$ba4acef3@news.orange.fr> (raw)
In-Reply-To: <5f648b50-92a8-4ce2-a093-146ba48fd785@y10g2000prg.googlegroups.com>

Le 26/10/2009 19:28, mockturtle a �crit :
> while discussing with a student of mine, who was debugging an Ada
> program, a very simple question popped out: is there any way to get a
> "list" (note the quotes) of the currently active tasks? [If you are
> curious: the debugging problem of my student was that his program
> would not exist because there was a task still "alive" and he could
> not understand which one].

If you are using gdb, then "info tasks" should help.

-- 

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




      reply	other threads:[~2009-10-26 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 18:28 Simple & fast question about tasks mockturtle
2009-10-26 18:36 ` Pascal Obry [this message]
replies disabled

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