TwineCompile freezes when a compilation error occurs with bcc64x in 12.3

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
oliwe
Posts: 21
Joined: Mon Feb 08, 2021 7:13 am

TwineCompile freezes when a compilation error occurs with bcc64x in 12.3

Post by oliwe »

When I compile a larger project in 12.3 witch bcc64x and an error occurs, TwineCompile can't complete the compilation process, it is frozen – all bcc64x processes (>10) remain displayed in the Task Manager. TwineCompile can not cancel the bcc64x processes. If I kill them manually, I can continue working. I never saw this behavior with bcc64.
This doesn't happen in a small test project. I think it's due to the number of bcc64x processes or the type of error.
jomitech
Site Admin
Posts: 2185
Joined: Wed Oct 08, 2008 12:23 am

Re: TwineCompile freezes when a compilation error occurs with bcc64x in 12.3

Post by jomitech »

Can you provide the version of TwineCompile that you have installed?

Also, can you enable the debug logging, reproduce the error and send the logs to us? To enable the logs, create a DWORD registry value called Logging, set to 1, in the HKEY_CURRENT_USER\Software\JomiTech\TwineCompiler key.

The logs will be written to C:\Users\<User Name>\AppData\Local\TwineCompile. Please zip up and send these logs to support@jomitech.com
Jon
oliwe
Posts: 21
Joined: Mon Feb 08, 2021 7:13 am

Re: TwineCompile freezes when a compilation error occurs with bcc64x in 12.3

Post by oliwe »

I am using bcc64x in RADStudio 12.3.
TwineCompile out of GetIt Package Manager - version is 5.9.0.
In my project libraries like vtk and dcmtk are included.
This leads to a lot of warnings.
For bcc64x I can just decide to enable or disable all warnings.
If there is an error in the source code and all warnings is enabled, canceling TwineCompile fails.
In my example TwineComile compiles 27 files in parallel, then an error is detected, warning counter >50000 ...

I) with all warnings disabled canceling works, here end of TwineCompilePlugin12.1.log:

4/8/2025 - 16:46:18:378 TTwineCompileCompileForm.WriteToConsole: Cancel sent...
4/8/2025 - 16:46:18:499 TMSBuildProjectBuilder.PerformCompile: Done
4/8/2025 - 16:46:18:499 TProjectBuilder.Execute: Notifying of compile done
4/8/2025 - 16:46:18:503 TProjectBuilder.NotifyCompileDone: Received notification of compile done
4/8/2025 - 16:46:18:503 TProjectBuilder.NotifyCompileDone: end
4/8/2025 - 16:46:18:503 TProjectBuilder.Compile: Compile completed
4/8/2025 - 16:46:18:503 TProjectBuilder.Execute: Completed
4/8/2025 - 16:46:18:504 TProjectBuilder.CompileDone: Setting compile form to done
4/8/2025 - 16:46:18:551 TProjectBuilder.Destroy: begin
4/8/2025 - 16:46:18:551 TProjectBuilder.Destroy: waiting for termination
4/8/2025 - 16:46:18:557 TProjectBuilder.Destroy: terminated
4/8/2025 - 16:46:18:557 TProjectBuilder.Destroy: end

II) With all warnings enabled canceling fails, here end of TwineCompilePlugin12.1.log:

4/8/2025 - 16:50:50:227 TTwineCompileCompileForm.WriteToConsole: Cancel sent...
4/8/2025 - 16:51:16:749 TTwineCompileCompileForm.FocusChanged: clearing W7 progress

-> all bcc64x processes are still listed in TaskManager after minutes, I have to kill them manually.

I can remember that there were similar problems with bcc64 and a lot of warnings :-)
jomitech
Site Admin
Posts: 2185
Joined: Wed Oct 08, 2008 12:23 am

Re: TwineCompile freezes when a compilation error occurs with bcc64x in 12.3

Post by jomitech »

I'm having trouble reproducing this issue. Can you enable the logging and send the mtbcc32*.log file to support@jomitech.com? That's where the freeze will be occuring.
Jon
Post Reply