Re: determining return address of a function
- From: "Enrique Perez-Terron" <enrio@xxxxxxxxx>
- Date: Wed, 28 Dec 2005 17:47:02 +0100
On Wed, 28 Dec 2005 13:07:31 +0100, Kasper Dupont <86700365992878345048@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Madhav wrote:
But I wonder, what are the possible uses of knowing the return
address?
It is mostly relevant for debuging purposes.
Function A could contain several calls to function B, and the
return address would reveal which of these calls is active.
It also informs you about what parts of A have been executed so
far, and which remain (assuming no loops :) ). Even in the
presence of loops in A, it tells you where you currently are
in A.
If you are reaching a breakpoint in B with weird values in
the function parameters, you want to know what code made
that call.
-Enrique
.
Relevant Pages
- Re: Macro recently quit working
... In what way is it failing: does it raise an error or just not do what you ... It stopped at breakpoint and I hit F5 again it ... I added some do loops with a Beep and I am hearing the ... (microsoft.public.excel.programming) - Macro recently quit working
... so I started up the editor and step through the program manually. ... It stopped at breakpoint and I hit F5 again it completed ... I added some do loops with a Beep and I am hearing the Beeps ... (microsoft.public.excel.programming) - Re: Macro recently quit working
... so I started up the editor and step through the program manually. ... It stopped at breakpoint and I hit F5 again it ... I added some do loops with a Beep and I am hearing the ... (microsoft.public.excel.programming) |
|