FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fivewin and Debugger (fwdbg.dll)
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Fivewin and Debugger (fwdbg.dll)
Posted: Wed Nov 30, 2022 12:37 PM
hi,

i try to use Fivewin Debugger and it does start
but than i can only use F8 for next Line ... and it will NOT "stop" automatic at ALTD() :(

---

i have search in Forum and found
Code (fw): Select all Collapse
AltD( 1 )   // Enables the debugger. Press F5 to go
so i use F8 until pass that line and than try F5
but again i got
"Do you want to exit Debugger ?"
"YES" does exit Debugger and run App but does NOT "stop" at next ALTD()
"NO" does nothing ...

---

i have found \fwh\source\classes\fwdbg.prg
it include
Code (fw): Select all Collapse
   CASE nKey == VK_F6     ; ::DbgGo()
but when press F6 i still got "exit from debugger" ...

my Version 22.07 seems not to include F6

---

so i try to include fwdbg.prg Source into *.MAK and add /B
but now App crash at Start and create hb_out.log :(

what i´m doing wrong :?:
how can i get Debugger to work with Fivewin :?:
greeting,

Jimmy
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Fivewin and Debugger (fwdbg.dll)
Posted: Wed Nov 30, 2022 01:13 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Fivewin and Debugger (fwdbg.dll)
Posted: Wed Nov 30, 2022 03:29 PM
hi,

thx for Answer

i already use FWLOG, FWINLOG i will try
i also have my own "Log" System but some time i need to "see" what CODE is doing -> Debugger

---

i have search in Forum (using my PhpBB Forum Grabber) and found out that F6 "should" be used
it is in c:\fwh\source\classes\fwdbg.prg but when try F6 i got "same" as F5 :(

so i have try to include c:\fwh\source\classes\fwdbg.prg in App but it crash at Start ...

Question : how to compile c:\fwh\source\classes\fwdbg.prg again :?:
greeting,

Jimmy
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: Fivewin and Debugger (fwdbg.dll)
Posted: Wed Nov 30, 2022 04:44 PM
Ciao Jimmy

I confirm that altd() does not work.

https://drive.google.com/file/d/1cwWfuHYhAerELilsMIntIH1rBhCde32S/view?usp=sharing

I made some changes to fwdbg.PRG ( I can send to Antonio )

for the compilation I use hbmk2 and it is sufficient to put it in the .hbm file
fwdbg.PRG

Maurizio
www.nipeservice.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin and Debugger (fwdbg.dll)
Posted: Thu Dec 01, 2022 09:20 AM

Dear Maurizio,

Could you please send me your changes ?

I just tried from FWH\samples:

buildh tutor01 /b

and seems to work fine

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion