Re: [Harbour] How to retrieve the CallStack

2010-03-02 Thread francesco perillo
Hi Alex, thank you for your code but I was asking more in-depth informations. The Debugger can show the variables "active" for each "n", so that with the call stack you can display the parameter values and the local variables values (anche if compiled with -b you should be able also to display var

Re: [Harbour] How to retrieve the CallStack

2010-03-01 Thread Alex Strickland
francesco perillo wrote: I now ask if is it possible to get a prg-level CallStack array in order to use it in the errorsys handler. I use: function Stack2Str(n) local cStackStr := "" local cProcFile DEFAULT n TO 2 while !empty(procname(n)) cStackStr += "Called from

[Harbour] How to retrieve the CallStack

2010-02-28 Thread francesco perillo
In the debugger it is possible to see the CallStack and the variables "active" in each stack level. >From the debugger source code I see that the CallStack is passed to __dbgEntry as a parameter and that parameter is built in C in funcyion hb_dbgActivate( HB_DEBUGINFO *info ) where info is a pointe