cancel
Showing results for 
Search instead for 
Did you mean: 

GfxDesigner : how to terminate the build process

ferro
Lead

Hi,

I’d like to terminate the build process, but pressing F7 causes GfxDesigner(4.24.1) to crash.

2025-10-17 13:46:51,280 [1] WARN  TouchGFXDomainModel.Texts.FontGetter: font already added. (path: HPSimplified_LtIt.ttf, name: HPSimplified_LtIt
2025-10-17 13:46:51,280 [1] WARN  TouchGFXDomainModel.Texts.FontGetter: font already added. (path: HPSimplified_Rg.ttf, name: HPSimplified_Rg
2025-10-17 13:48:35,702 [26] ERROR TouchGFXDesigner.App: Invalid class 
System.Management.ManagementException: Invalid class 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at TouchGFXApplication.Executors.Executor.Cancel()
   at TouchGFXApplication.MonitorCommands.RunSimulatorCommand.Cancel()
   at TouchGFXApplication.TouchGFXApplication.<CancelCompile>b__38_0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)

Is there any other way to do that ? A key combination ?

Thanks

ferro_1-1760699067741.png

 

ferro_0-1760699027631.png

 

2 REPLIES 2
JohanAstrup
ST Employee

Hello @ferro.

I am not aware of any other way to terminate the build except by pressing Cancel or F7 without closing TouchGFX Designer. However, I have never experienced issues with this.

Does the issue only occur when you cancel the simulator build, or does it also happen with Generate Code and Run Target (if available)? Could you try to replicate the issue in TouchGFX 4.26.0?

Best regards,
Johan

Thanks @JohanAstrup 

With 4.24.1, I press F5 and the Designer starts to generate code. Pressing F7 during that causes the Designer to crashe. So it does when I press F7 while compiling. I run simulation only.

"Could you try to replicate the issue in TouchGFX 4.26.0?"

I will.