Debugging and MacOS X [message #125546] |
Mon, 01 November 2004 07:32  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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);
> }
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04341 seconds