Is there something Valgrind like tool for FreeBasic for Win?

New to FreeBASIC? Post your questions here.
Post Reply
PeterHu
Posts: 46
Joined: Jul 24, 2022 4:57

Is there something Valgrind like tool for FreeBasic for Win?

Post by PeterHu »

Greetings,

Since in FreeBasic one can use pointer for various needs,sometimes may be as heavily as possible,I am wondering whether there is any valgrind-like tool exists to help detecting memory leakage,or what is the right to do to write a safer and more rubust program?

Thanks for the help in advance.
Xusinboy Bekchanov
Posts: 661
Joined: Jul 26, 2018 18:28

Re: Is there something Valgrind like tool for FreeBasic for Win?

Post by Xusinboy Bekchanov »

PeterHu wrote: Sep 26, 2022 6:31 Greetings,

Since in FreeBasic one can use pointer for various needs,sometimes may be as heavily as possible,I am wondering whether there is any valgrind-like tool exists to help detecting memory leakage,or what is the right to do to write a safer and more rubust program?

Thanks for the help in advance.
There are fbmld and FBMemCheck branched off from it.
PeterHu
Posts: 46
Joined: Jul 24, 2022 4:57

Re: Is there something Valgrind like tool for FreeBasic for Win?

Post by PeterHu »

I am sorry but how can I get it to use for FreeBasic?I am with Win10.
Xusinboy Bekchanov
Posts: 661
Joined: Jul 26, 2018 18:28

Re: Is there something Valgrind like tool for FreeBasic for Win?

Post by Xusinboy Bekchanov »

PeterHu wrote: Sep 26, 2022 7:23 I am sorry but how can I get it to use for FreeBasic?I am with Win10.
Here you can read:

fbmld:
viewtopic.php?t=3545

FBMemCheck:
https://freebasic.net/forum/viewtopic.php?p=278589
paul doe
Moderator
Posts: 1661
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: Is there something Valgrind like tool for FreeBasic for Win?

Post by paul doe »

PeterHu wrote: Sep 26, 2022 6:31 Greetings,

Since in FreeBasic one can use pointer for various needs,sometimes may be as heavily as possible,I am wondering whether there is any valgrind-like tool exists to help detecting memory leakage,or what is the right to do to write a safer and more rubust program?

Thanks for the help in advance.
There's Dr Memory. Currently 64-bit support is a bit wonky, but it'll likely improve. You might want to check it out.
PeterHu
Posts: 46
Joined: Jul 24, 2022 4:57

Re: Is there something Valgrind like tool for FreeBasic for Win?

Post by PeterHu »

Thank you for the help.
Post Reply