accessing pointer structs in debug function

Hi all,
I'm using the debug function (SIGNAL) for testing the code.
Whereas there's no problem writing values to local variables, the debugger seems to freeze when accessing a pointer.

Example of debug function:

SIGNAL void MyDebugScript(void){
  exec("LocalStruct.AMember = 17"); // works as intended
  exec("MyStruct->AMember = 5");  // sets the value as intended, but doesn't execute following commands
  exec("LocalStruct.SecondMember = 465"); // not executed
}

Is this simply a bug or "byDesign" ? Does a workaround exist?

More questions in this forum