I have run the xHarbour debugger with recent upgrade to FWH 7.07 / xHarbour 99.71 and encounter 2 issues.
issue 1 - abend due to different circumstances in SHOWVARS method. The abend seems to happen as I repeatedly "step" with the F8 key into subordinate functions and/or back again.
------------------------------------------------------
Error description: Error BASE/1004 Class: 'NIL' has no exported method: CARGO
Called from (b)TDEBUGGER:SHOWVARS(2784)
----------------------------------------------------------
Error description: Error BASE/9999 Argument error: HB_DBG_VMVARLGET
Args:
[ 1] = N -2
[ 2] = N 65535
Called from TDEBUGGER:VARGETVALUE(3016)
Called from TDEBUGGER:VARGETINFO(2981)
Called from (b)TDEBUGGER:SHOWVARS(2790)
---------------------------------------------------------
Item 2 - Sometimes the source code area goes blank in one function, then as control with F8 passes to a subordinate function, source code re-appears, then upon control to higher function source code dissappears.
This happens especially if I "step" through or "run" through a msgstop() or similar. After the msgbox is displayed, source code for that function is gone.
debugger current FWH / xHarbour
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
debugger current FWH / xHarbour
Don Lowenstein
www.laapc.com
www.laapc.com
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
- Maurilio Viana
- Posts: 252
- Joined: Tue Oct 25, 2005 2:48 pm
- Location: Garça/Garza/Heron City - Brazil
- Contact:
- Patrick Mast
- Posts: 244
- Joined: Sat Mar 03, 2007 8:42 pm
Hello Maurilio,Maurilio Viana wrote:I tryed for many times debug my FW program but I had no success.
I use FWH 7.01 and xHarbour comercial (march/2007).
If anybody can help me I'll be glad
Regards,
Maurilio
We are doing final tests to debug a FWH app with Visual xDebugger.
Will let you know when we have more info on this.
--
Sincerely,
Patrick Mast,
xHarbour.com Inc.
http://www.xHarbour.com
- don lowenstein
- Posts: 196
- Joined: Mon Oct 17, 2005 9:09 pm
- Contact:
Maurilio,
I am able to run debugger, but sometimes I have problems.
To get it to work similar to Clipper Debugger,
compile .prg with /b switch.
Include in your .lnk script debug.lib from the xharbour lib folder
For borland linker, xHarbour v99.5, omit the -aa switch from the Ilink32 command line.
For xHarbour v99.7 with Microsoft VC6.0, include msvcrt.lib and remove msvgui.lib
Not sure about the commercial xHarbour debugger - there is another message on the board from a couple of days ago asking the same question.
I am able to run debugger, but sometimes I have problems.
To get it to work similar to Clipper Debugger,
compile .prg with /b switch.
Include in your .lnk script debug.lib from the xharbour lib folder
For borland linker, xHarbour v99.5, omit the -aa switch from the Ilink32 command line.
For xHarbour v99.7 with Microsoft VC6.0, include msvcrt.lib and remove msvgui.lib
Not sure about the commercial xHarbour debugger - there is another message on the board from a couple of days ago asking the same question.
Don Lowenstein
www.laapc.com
www.laapc.com