Re: [Dev-C++] Help me with debugging pls.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Roberto R. <rob...@ar...> - 2002-08-04 23:33:51
|
Vaclav Kremen wrote:
> Hello all,
> here is my short code:
>
> #include <iostream.h>
> #include <stdio.h>
> #include <stdlib.h>
>
> int main (int argc, char *argv[])
> {
> int x = 1000;
>
> x = x*x;
> cout << "Hello World!" << endl;
> x = 1;
> cout << "Press ENTER to continue... " << x <<endl;
> getchar ();
>
> return 0;
> }
>
> I need to watch variable x, but when I step in code while debugging
> each line with x is skiped and no x value is displayed. Only three
> lines (cout and getchar) are evaluated correctly.
> Some error "No symbol x in current context." is displayed in debugging
> infos.
>
> Does anyone know where is the problem, can you try it by yourself and
> write me your status? I need to watch variables values while debugging
> because otherwise it is not valuable for me. I have devcpp.exe 4.9.4.3.
> Thank you very much for your help.
>
> With best regards,
>
> Vaclav Kremen.
Try looking this:
ftp://161.97.203.92/pub/insight5_win32_exe.zip
http://www.geocities.com/uniqueness_template/
or just in www.bloodshet.net
Install insight5 overwrite dgb in Dev-C++ but works fine (the interfase
is clear to see), dbg in Dev-C++ have some problems up to now, almost I
think. Both applications run friendly.
Roberto
|