In Visual C++ it is possible to step thru application using F10 or F11.
However, while debugging VB program, one can find
Print VariableName <Enter>
in debug window and thus examine variable value.
Is there any similar way in VC++?
Thanx.
Printable View
In Visual C++ it is possible to step thru application using F10 or F11.
However, while debugging VB program, one can find
Print VariableName <Enter>
in debug window and thus examine variable value.
Is there any similar way in VC++?
Thanx.
Yep, when in the debugger you can specify variables you wish to view using the debug windows. Use the View->Debug Windows menu to see what you can use.
You then need to write the correct variable name in the window and it will display its value(s).
Any help?
HD
yes, it helps!
However, in VB, it is possible to run a function as well in debug window like
Print SquareIt(5) <Enter>
Is the same feature available in VC++?
:p
Try it and see ;)
It is in 7, not sure about 6.
function(parametr[s]) in debug windows does print the return value!
I'm using VC++ 5 though.
Upgrade!