Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* dealing with exceptions in c++
@ 2010-10-15 17:49 Mathew Yeates
  2010-10-15 18:00 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Mathew Yeates @ 2010-10-15 17:49 UTC (permalink / raw)
  To: gdb

Hi
I have a program which is throwing an exception somewhere. Is there a
way to get the location where this is happening using gdb?

-Mathew


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

* Re: dealing with exceptions in c++
  2010-10-15 17:49 dealing with exceptions in c++ Mathew Yeates
@ 2010-10-15 18:00 ` Joel Brobecker
  2010-10-15 18:05   ` Mathew Yeates
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2010-10-15 18:00 UTC (permalink / raw)
  To: Mathew Yeates; +Cc: gdb

> I have a program which is throwing an exception somewhere. Is there a
> way to get the location where this is happening using gdb?

Not a C++ expert at all, but "catch throw"?

-- 
Joel


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

* Re: dealing with exceptions in c++
  2010-10-15 18:00 ` Joel Brobecker
@ 2010-10-15 18:05   ` Mathew Yeates
  0 siblings, 0 replies; 3+ messages in thread
From: Mathew Yeates @ 2010-10-15 18:05 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb

Yeah. That worked. I didn't see it in the manual but Google found it for me.


On Fri, Oct 15, 2010 at 11:00 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> I have a program which is throwing an exception somewhere. Is there a
>> way to get the location where this is happening using gdb?
>
> Not a C++ expert at all, but "catch throw"?
>
> --
> Joel
>


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

end of thread, other threads:[~2010-10-15 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-15 17:49 dealing with exceptions in c++ Mathew Yeates
2010-10-15 18:00 ` Joel Brobecker
2010-10-15 18:05   ` Mathew Yeates

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