Jump to content
Artem Razin

ANN: Find leaks in Delphi and C++ with Deleaker

Recommended Posts

Hi Developers,

 

Deleaker was created in 2006, and is been support Visual Studio from the very first release.

 

Now it's time to find leaks in Delphi and C++ Builder!

 

Deleaker finds memory leaks, leaks of GDI and USER32 resources, handles and many others.

 

Deleaker fully integrates with RAD Studio. Here the official announcement: https://www.deleaker.com/blog/2019/03/11/integration-with-rad-studio/

Let's look how it works!

 

Download Deleaker and launch it. Now you can select versions of RAD Studio you want Deleaker to integrate with. Of course, RAD Studio Rio 10.3 is supported:

 

installer_rad_studio.png.c5cdbf2cdd1b06ad9f4b94728ac2e153.png

 

Deleaker is installed, let's launch Delphi:

 

rad_studio_with_deleaker_splash.gif.d7e934ea256f79bd0a088287da073528.gif

 

Great, Deleaker is here:

 

deleaker_menu_in_rad_studio.gif.5bf39c298c303c6b82c743a62e1220d8.gif

 

Let's add some leaks:

 

add_some_leaks.gif.885ff48850416a2cb00fb5eafe0e064c.gif

 

Start debugging, click the button, exit. Deleaker is taking a snapshot:

 

taking_snapshot.gif.1d024b2fd563df7049b21c7da91d9122.gif

 

Two leaks are shown as expected. It's easy to navigate to source of a leak:

 

goto_source_code.gif.bf7897cd64d1482588d1ee405bf3b086.gif

 

Happy coding!

Edited by Artem Razin
  • Like 4
  • Thanks 2

Share this post


Link to post

That looks very exciting, but I do find the prices a bit steep 😶

 

Does one license work with both RAD Studio and Visual Studio integration?

 

For VS, does it find leaks for C++/CLI Mixed mode applications?

Share this post


Link to post
On 3/11/2019 at 6:11 PM, Der schöne Günther said:

Does one license work with both RAD Studio and Visual Studio integration?

Yes, absolutely!

 

On 3/11/2019 at 6:11 PM, Der schöne Günther said:

For VS, does it find leaks for C++/CLI Mixed mode applications?

Yes, it does.

 

Thank you!

Share this post


Link to post

Does this tool also support FMX somehow and other platforms (iOS, Android, MaxOS, Linux) ?

Share this post


Link to post
1 minute ago, Rollo62 said:

Does this tool also support FMX somehow and other platforms

It should support FMX, but at the same time the only platform Deleaker supports is Windows.

Share this post


Link to post
8 minutes ago, Artem Razin said:

It should support FMX, but at the same time the only platform Deleaker supports is Windows.

Thanks for clarification.

Share this post


Link to post

The tool seems interesting. How about an introductory offer for RAD Studio users or DelphiPraxis members?

Edited by ringli

Share this post


Link to post

Looks really good.  Could this be installed on a server without Delphi present?

 

Occasionally we have a leak which we can't find when debugging but only occurs rarely in live deployments.

Share this post


Link to post
5 hours ago, WillH said:

Could this be installed on a server without Delphi present?

Yes, Deleaker standalone is for such scenario.

Share this post


Link to post
28 minutes ago, Artem Razin said:

Yes, Deleaker standalone is for such scenario. 

That's great. I'll have a look at it.

Share this post


Link to post
On 3/14/2019 at 5:48 PM, ringli said:

How about an introductory offer for RAD Studio users or DelphiPraxis members?

No answwer about that? :classic_unsure:

Share this post


Link to post

Been experimenting with it myself and there are things I like.  I will give a full report on it once they address some things I reported.

  • Like 2

Share this post


Link to post

Would love to know how it compares to madExcept's leaks report, from the GIFs I found they are very similar to each other.

Share this post


Link to post
On 3/23/2019 at 10:00 AM, ringli said:

No answwer about that? :classic_unsure:

Would be nice actually.

Share this post


Link to post
20 hours ago, sjordi said:

Would be nice actually.

Are you about a discount?..

 

I tried to realize how to post a text that is available for users logged on the forum only, but it seems no way to do so.

 

Anyway feel free to write me PM.

 

Thank you!

Edited by Artem Razin

Share this post


Link to post
On 3/11/2019 at 8:11 AM, Der schöne Günther said:

That looks very exciting, but I do find the prices a bit steep 😶

 

Does one license work with both RAD Studio and Visual Studio integration?

 

For VS, does it find leaks for C++/CLI Mixed mode applications?

Doesn’t look that expensive, $99 for personal copy and $399 for developer.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×