Skip to main content
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Oct 19, 2026 2:57 PM UTC

Hello ​@redstone8415 ,

Have you tried setting a breakpoint inside your model ? for instance in void Model::tick()

​@Andrew Neil  has a point: you may have optimizations enabled, so the debugger can't get the values. Try building with -O0.

ST Software Developer | TouchGFX

2 replies

Andrew Neil
Super User
Oct 13, 2026 9:22 AM UTC

You need to give some more detail on your setup and what, exactly, you’re doing:

 

But common reasons for such errors are

  • The variable in question is currently out-of-scope
  • The variable in question has been optimised-out
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Osman SOYKURT
Osman SOYKURTBest answer
ST Technical Moderator
Oct 19, 2026 2:57 PM UTC

Hello ​@redstone8415 ,

Have you tried setting a breakpoint inside your model ? for instance in void Model::tick()

​@Andrew Neil  has a point: you may have optimizations enabled, so the debugger can't get the values. Try building with -O0.

ST Software Developer | TouchGFX