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.
Any help would be appreciated.
thanks a lot!

Lokicer


.



Relevant Pages

  • Re: input to mex function
    ... either cell arrays with string elements or ... or you can call it like this (string arguments): ... void mexFunction(int nlhs, mxArray *plhs, int nrhs, ... // Your code goes here to use argc and argv. ...
    (comp.soft-sys.matlab)
  • Cocoa Gotcha: NSApplicationMain never returns
    ... int main{ ... return NSApplicationMain(argc, argv); ... autoreleased with no pool in place - just leaking ... just quit the program you'll see that the Quit menu command calls ...
    (comp.sys.mac.programmer.help)
  • Re: writing program from a book
    ... >> I wrote that program from a book that my compile that program ... > int main(argc, argv) ...
    (comp.unix.solaris)
  • Re: writing program from a book
    ... >> I wrote that program from a book that my compile that program ... > int main(argc, argv) ...
    (comp.unix.programmer)
  • Re: passing more than one file.
    ... loop through argv[] until you hit NULL. ... message to stderr and keep going. ... int main(int argc, char *argv) { ...
    (comp.lang.c)

Loading