Page 1 of 1

Fivewin and Debugger (fwdbg.dll)

Posted: Wed Nov 30, 2022 12:37 pm
by Jimmy
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: Select all | Expand

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: Select all | Expand

   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 :?:

Re: Fivewin and Debugger (fwdbg.dll)

Posted: Wed Nov 30, 2022 1:13 pm
by karinha

Re: Fivewin and Debugger (fwdbg.dll)

Posted: Wed Nov 30, 2022 3:29 pm
by Jimmy
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 :?:

Re: Fivewin and Debugger (fwdbg.dll)

Posted: Wed Nov 30, 2022 4:44 pm
by Maurizio
Ciao Jimmy

I confirm that altd() does not work.

https://drive.google.com/file/d/1cwWfuH ... sp=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

Re: Fivewin and Debugger (fwdbg.dll)

Posted: Thu Dec 01, 2022 9:20 am
by Antonio Linares
Dear Maurizio,

Could you please send me your changes ?

I just tried from FWH\samples:

buildh tutor01 /b

and seems to work fine