Re: debugging question



"kyle york" <kyork@xxxxxxxxx> wrote in message
news:1127252019.999252@xxxxxxxxxxxxxxxxx
> Assuming the return is returning a value, when using a debugger one can
> put a breakpoint on the one return and see the value. Alternately, if
> not using a debugger one can use a printf() to print the return value.
> If you've multiple returns, you'll need to either put a break point at
> each one or put a printf by each one.

Exactly.
Alex


.



Relevant Pages

  • Debugging C++ (Atl) code with Visual Studio 2005
    ... I am able to get the VS 2005 debugger to break at the breakpoint and I ... Wade. ... Prev by Date: ...
    (microsoft.public.vc.debugger)
  • Debugging C++ (atl) .dll with Visual Studio 2005
    ... I am able to get the VS 2005 debugger to break at the breakpoint and I ... Wade. ... Prev by Date: ...
    (microsoft.public.vsnet.debugging)
  • Re: Question on strncmp / strnicmp use
    ... Why Not Use Printf? ... system with printf quicker than learning how to use a proper debugger ... When you catch a bug you can move up and down the stack to see the ...
    (comp.lang.c)
  • Re: mnemonic
    ... I'd say that about half of my bugs I find with printf. ... I find with a traditional debugger. ...
    (comp.lang.c)
  • Re: mnemonic
    ... I'd say that about half of my bugs I find with printf. ... I find with a traditional debugger. ... hardly ever orders of magnitude faster. ...
    (comp.lang.c)