Some problems with the FWH-debugger

Some problems with the FWH-debugger

Postby driessen » Sun Sep 10, 2023 9:49 am

Hello everyone,

I'm trying to use the FWH-debugger, but like it is now, it is to my opinion unuseable.

Some problems I experience:

1. ALTD(), ALTD(0), ALTD(1) - all the commands aren't working at all. There is no reaction from the debugger when using one of them.
2. A lot of words in windows, menues, etc. are in Spanish. Very difficult for someone who is not speaking one single word of Spanish.
3. How to open another PRG-file to toggle breakpoints? If that was possible, that would be a very big forward. Sorry, but I can't find it.

If these problems could be solved, the FWH-debugger would be a very helpful tool.

I'm using the xHarbour debugger right now, but this one is also has its problems. Unfortunately, I don't see any evolution anymore in xHarbour (no change for the last 3 years at all), so I want to stop using it.

Thank you very much for any comment of help.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Some problems with the FWH-debugger

Postby Enrico Maria Giordano » Sun Sep 10, 2023 1:22 pm

driessen wrote:I'm using the xHarbour debugger right now, but this one is also has its problems. Unfortunately, I don't see any evolution anymore in xHarbour (no change for the last 3 years at all), so I want to stop using it.


This is not true, at least for the official xHarbour.org compiler:

https://github.com/ronpinkas/xharbour/blob/main/ChangeLog
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Some problems with the FWH-debugger

Postby driessen » Sun Sep 10, 2023 1:33 pm

Sorry, Enrico, I have always been using the xHarbour which of xHarbour.com.
This xHarbour versionn which wasn't free, hasn't been updated since build 772 of 2020, meanwhile 3 years ago.
To my opinion, that is not were I am paying for every six months.

Can I change to xHarbour.org? If so, what do I need to do?

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Some problems with the FWH-debugger

Postby Antonio Linares » Sun Sep 10, 2023 2:20 pm

Dear Michel,

Please go to FWH\samples and run this:

buildh tutor01 -b

The debugger shows and works fine. Please try it and let me know what you get

many thanks

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Some problems with the FWH-debugger

Postby frose » Sun Sep 10, 2023 2:39 pm

Michel,
use the "Paperclip" in the toolbar to open other PRG files.
Otherwise you are right, especially that AltD() does not work.
Also the debugger is quite slow due to its data structure.
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
User avatar
frose
 
Posts: 392
Joined: Tue Mar 10, 2009 11:54 am
Location: Germany, Rietberg

Re: Some problems with the FWH-debugger

Postby driessen » Sun Sep 10, 2023 3:39 pm

Antonio,

The debugger is working. I get the debug screen. The problem is that de debugger doesn't stop were I want it to stop.
When I put ALTD() in my PRG, nothing happens.

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Some problems with the FWH-debugger

Postby Antonio Linares » Sun Sep 10, 2023 4:59 pm

Dear Michel,

We provide this example in FWH\samples

altd.prg
Code: Select all  Expand view
// Sample showing how to invoke the console debugger from Harbour/xHarbour
// Notice you have to compile it using /b
// and remove -aa when calling ilink32.exe from buildh.bat/buildx.bat

REQUEST HB_GT_WIN
REQUEST HB_GT_WIN_DEFAULT

function Main()

   AltD( 1 )   // Enables the debugger. Press F5 to go

   MsgInfo( "debugger enabled" )

   AltD()      // Invokes the debugger

   MsgInfo( "debugger invoked" )

return nil

// Harbour requirement
procedure hb_gt_gui_default
return
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Some problems with the FWH-debugger

Postby driessen » Sun Sep 10, 2023 8:37 pm

Antonio,

Unfortunately, I get this error while building my application.
Code: Select all  Expand view
Error: Unresolved external '_HB_FUN_HB_GT_WIN' referenced from OBJ\JUDA.OBJ
Error: Unresolved external '_HB_FUN_HB_GT_WIN_DEFAULT' referenced from OBJ\JUDA.OBJ
Error: Unable to perform link
Any idea?

Thanks.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Some problems with the FWH-debugger

Postby Enrico Maria Giordano » Mon Sep 11, 2023 12:25 pm

driessen wrote:Sorry, Enrico, I have always been using the xHarbour which of xHarbour.com.
This xHarbour versionn which wasn't free, hasn't been updated since build 772 of 2020, meanwhile 3 years ago.
To my opinion, that is not were I am paying for every six months.


Yes, I agree: xHarbour.com is a dead company and I am very sorry for that.

driessen wrote:Can I change to xHarbour.org? If so, what do I need to do?


Please visit www.xharbour.org and download the C compiler (I recommend MSVC) and the corresponding xHarbour binaries. For any help I'm here.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Some problems with the FWH-debugger

Postby Enrico Maria Giordano » Mon Sep 11, 2023 12:26 pm

driessen wrote:Antonio,

Unfortunately, I get this error while building my application.
Code: Select all  Expand view
Error: Unresolved external '_HB_FUN_HB_GT_WIN' referenced from OBJ\JUDA.OBJ
Error: Unresolved external '_HB_FUN_HB_GT_WIN_DEFAULT' referenced from OBJ\JUDA.OBJ
Error: Unable to perform link
Any idea?

Thanks.


Try to remove them. I think they are for Harbour not for xHarbour.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Some problems with the FWH-debugger

Postby driessen » Mon Sep 11, 2023 12:36 pm

Enrico,

Thanks for your reply.

But also in Harbour, I got the same error.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Some problems with the FWH-debugger

Postby Antonio Linares » Mon Sep 11, 2023 3:15 pm

Dear Michel,

debugging an event driven environment is not easy. Better use traces instead of a debugger
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 64 guests