Jump to content
Sign in to follow this  
Uwe Raabe

Async Tasks in VCL Projects

Recommended Posts

You've put good advice in that article, @Uwe Raabe

 

Just my two cents...

A lot of people say multi-threading is hard.  It is only hard if you have not learned to do it properly, like any other thing in life.

 

Debugging multi-threading apps, on the other hand... Make sure you log a lot - with the thread context in the log.  

IMO, the debugger is not yet properly equipped to deal with multiple threads, unless you count using lots and lots of breakpoint tweaking.

The Parnassus Parallel Debugger plugin may solve some of that, but it is not yet out for Delphi 11, and it has stability issues in 10.4.

  • Like 1

Share this post


Link to post

I consider multithreading as hard enough to not use it if it isn't necessary. And there are many types of programs where it isn't. In particular, as you said, the lack of proper debugger support makes it hard.

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
Sign in to follow this  

×