Hi,
I am developing a new GUI application targeting ESP32.
When I was prototyping the app on embedded wizard, everything was fine. But when I downloaded it to the ESP32, it crash constantly.
Eventually, I found that it is because when I present a new dialog by using :
Owner.PresentDialog( new newscreen …
At the runtime, the Owner somehow is null, and cause the code to address the data around address 0, so that it crash. But when prototyping, the Owner was null when I instantiated it, but is changed somehow later, why it is different?
From the documentation, I know Owner will be set when Add() is invoked. Is there any other way will cause the Owner to be set?