Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugging and MacOS X
Debugging and MacOS X [message #125546] Mon, 01 November 2004 07:32 Go to next message
Eclipse UserFriend
Originally posted by: fmujica.ti.com

Hi,

Sorry if this has been asked before. I couldn't figure out how to search
the archives.

I can compile and run programs with Eclipse 3.0.1 and CDT 2.0.2. The
simple program below
compiles and works as expected under Eclipse. However, in debug mode, I
can't see local variables (i
in this simple case) and the "cout << i << endl" prints nothing. No
errors are reported.

Any ideas?

MacOS X 10.3.5
Xcode 1.2

Thanks,
Fernando


// Example code
#include <iostream>

using namespace std;

int main(void)
{
int i = 10;
cout << "Hello world!" << endl;
cout << i << endl;

return(0);
}
Re: Debugging and MacOS X [message #129167 is a reply to message #125546] Mon, 29 November 2004 12:55 Go to previous message
Eclipse UserFriend
Try getting CDT 2.1 RC3

http://download.eclipse.org/tools/cdt/builds/2.1.0/RC3

It will get you a little further, but it gives errors on stepping
through for me on OS X. My other post talks a little about it.

Fernando Mujica wrote:
> Hi,
>
> Sorry if this has been asked before. I couldn't figure out how to search
> the archives.
>
> I can compile and run programs with Eclipse 3.0.1 and CDT 2.0.2. The
> simple program below
> compiles and works as expected under Eclipse. However, in debug mode, I
> can't see local variables (i
> in this simple case) and the "cout << i << endl" prints nothing. No
> errors are reported.
>
> Any ideas?
>
> MacOS X 10.3.5
> Xcode 1.2
>
> Thanks,
> Fernando
>
>
> // Example code
> #include <iostream>
>
> using namespace std;
>
> int main(void)
> {
> int i = 10;
> cout << "Hello world!" << endl;
> cout << i << endl;
>
> return(0);
> }
>
>
Previous Topic:Newbie - Indexer issues
Next Topic:CDT 2.1 & SDL
Goto Forum:
  


Current Time: Thu Jul 17 07:11:36 EDT 2025

Powered by FUDForum. Page generated in 0.04341 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top