comp.lang.ada
 help / color / mirror / Atom feed
From: john@assen.demon.co.uk
Subject: Re: Debugging Problem with Gnatbench under Eclipse
Date: Mon, 10 Feb 2014 09:40:01 -0800 (PST)
Date: 2014-02-10T09:40:01-08:00	[thread overview]
Message-ID: <8ee204c5-bcb0-440a-9bcb-831ceffb6396@googlegroups.com> (raw)
In-Reply-To: <5384e37a-764a-4368-8834-0de4c7d7998c@googlegroups.com>

On Monday, 11 November 2013 02:27:12 UTC, Fritz von Braun  wrote:

> I installed the latest Eclipse 32 bit version, the CDT tools and Gnatbench just as described. I created a small Hello World program which compiles and runs just fine. But when I try to start it under the Eclipse GDB debugger I get the following error:
> 
> Error in final launch sequence
> Failed to execute MI command:
> -data-evaluate-expression "sizeof (void*)"
> Error message from debugger back end:
> No definition of "sizeof" in current context.
> No definition of "sizeof" in current context.

Hi Fritz,

I just wondered if you'd ever found a solution to this that doesn't involve going external to Eclipse's debugging facilities. I'm intending to present a very brief summary of Ada's facilities for defining representations to a bunch of uninterested C++ programmers and would like to show them the difference between, e.g., a record with and without its representation defined by stepping through and showing the changes to the object in memory. It would be nice to do this in Eclipse as I'm familiar with that, and it's pretty, but I suppose I could do it in GPS if I could find a way of having multiple memory views that update automatically!

All the best
John

      parent reply	other threads:[~2014-02-10 17:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-11  2:27 Debugging Problem with Gnatbench under Eclipse Fritz von Braun
2013-11-11  5:40 ` Jeffrey Carter
2013-11-11 16:20   ` Mike H
2013-11-12  0:46     ` Fritz von Braun
2013-11-12 14:40       ` Mike H
2013-11-12 17:43         ` Bill Findlay
2013-11-13  1:12         ` Adam Beneschan
2013-11-13  8:18           ` Georg Bauhaus
2013-11-13  9:11             ` Dmitry A. Kazakov
2013-11-13 10:17               ` Simon Wright
2013-11-13 17:37             ` Jeffrey Carter
2013-11-13  9:14           ` Mike H
2014-02-10 17:40 ` john [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