Fivewin and Debugger (fwdbg.dll)

Fivewin and Debugger (fwdbg.dll)

Postby Jimmy » 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: Select all  Expand view
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 view
  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
User avatar
Jimmy
 
Posts: 1585
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Fivewin and Debugger (fwdbg.dll)

Postby karinha » Wed Nov 30, 2022 1:13 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7214
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Fivewin and Debugger (fwdbg.dll)

Postby Jimmy » Wed Nov 30, 2022 3: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
User avatar
Jimmy
 
Posts: 1585
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Fivewin and Debugger (fwdbg.dll)

Postby Maurizio » Wed Nov 30, 2022 4: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
User avatar
Maurizio
 
Posts: 796
Joined: Mon Oct 10, 2005 1:29 pm

Re: Fivewin and Debugger (fwdbg.dll)

Postby Antonio Linares » Thu Dec 01, 2022 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
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 97 guests