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 variable name...)

For example, with your code you get something like this:
   Called from PTR_CHECK2(336)
   Called from PTR_CHECK(220)
   Called from ST3FV(63)

I want something like this (I could achieve this thanks to some
routines I found on google but there is something that is not
perfect):
   PTR_CHECK2
     Param   1:    A    Len:    3
     Param   2:    A    Len:    3
     Param   3:    A    Len:    3
     Local   1:    U    <don't know to display type U>
     Local   2:    U    <don't know to display type U>
     Local   3:    A    Len:    6
     Local   4:    N    0.00
     Local   5:    L    .F.
     Local   6:    N    5.00
     Local   7:    N    0.00
     Local   8:    A    Len:    0
     Local   9:    A    Len:    3
     Local  10:    N    6.00
     Local  11:    N    2.00
     Local  12:    N    6.00
     Local  13:    S    <don't know to display type S>
     Local  14:    U    <don't know to display type U>
     Local  15:    A    Len:    3
     Local  16:    N    5.00
     Local  17:    C    "W/B,GR+/W,N/N,B/N,W+/BG,B/N"
     Local  18:    N    0.00
   PTR_CHECK
     Param   1:    A    Len:    2
     Param   2:    A    Len:    2
     Local   1:    U    <don't know to display type U>


So I don't only know the function and the line, but I may also know
the variable values... In this specific error,
   Error description: Error BASE/1132  Bound error: array access
   Args:
     [   1] = A   <don't know to display type A>
     [   2] = N   5.00

@ Y+1,15 say aPrinter[ s_ptr_selec ]

s_ptr_selec is a static var that has value 5... aPrinter is "Local
15", an array tath has len = 3.... BUG FOUND... it is a specific IF
condition not covered in the source code... and this debug is from a
live application...

Ciao,
Francesco
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to