That works fine here.
I just cut and copied this snippet of code into a simple project, make sure
that the compiler was generating debugging information, compiled clean by
CTRL+F9. Put a breakpoint on x init and start debugging (F8). then added a
watch on it.
I was able to step and see x evolution. Init to 1000 then 1000000 and 1 just
after the "Hello world" console outting.
Working on the latest version of DevCPP available, like you.
Kind regards
--
Seb
|