FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour debugger current FWH / xHarbour
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 03:48 PM

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.

Don Lowenstein
www.laapc.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 05:27 PM

Don,

Are you using the xHarbour console mode debugger ?

If yes, then you should report it at comp.lang.xharbour, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 06:11 PM

Yes I am using the console version. Do I have any other options?

Don Lowenstein
www.laapc.com
Posts: 252
Joined: Tue Oct 25, 2005 02:48 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 06:14 PM

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

Posts: 246
Joined: Sat Mar 03, 2007 08:42 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 06:23 PM
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


Hello 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
Posts: 204
Joined: Mon Oct 17, 2005 09:09 PM
debugger current FWH / xHarbour
Posted: Mon Aug 20, 2007 06:26 PM

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.

Don Lowenstein
www.laapc.com

Continue the discussion