Why is GDB "terminating"?
-
I am trying to test / debug "viewportMargins" , and it runs OK , but "GDB" terminates in debug. Why?
Actually I need to "get" current viewport margins and I am not sure at what point (of constructor code ?) I can do that.

-
By the looks of it you are using Linux. Which flavor of Linux and most importantly which version of gdb?
It is known that Ubuntu 22.04 is shipping a "beta" version of gdb (12.0.90) which has problems, and the fix is to upgrade to gdb version 12.1.0.
-