Re: bug in vc debugger?




> hi, i new a win32 console application, the code is
>
> int main(int argc, char* argv[])
> {
> static int a = 0;
> int b = 0;
> return 0;
> }
>
> i set a breakpoint before "return 0". when i debug it , i watch static
> variable "a" in debugger watch window
> but there is a error"cxx0017:symbol "a" not found. my vc version is 6.0
> without sp5.

If you build on Windows XP, then it is a known bug in the build tools.
The only workaround (known to me) is to build on another operating system.

Regards,
Oleg
[VC++ MVP]





.



Relevant Pages


Loading