In one of my two main applications, the application Close event never fires if I run it from within PB or in the debugger. It fires in the compiled (pcode) version. Almost identical code also works everywhere (in PB, debugger, or compiled) in the other application.
I put a breakpoint on the first line of code in the Close event, ran the app, exited the main window, and it just returned right back to the debugger. So it's not as if the application hasn't terminated. The Close event also fires if I do HALT CLOSE.
This is in PB2019 Build 2082.
Any bright ideas? Thanks.
This problem happens even if I put "return" as the first line of the application object's Open script - it still doesn't stop at the first line of the Close script in the debugger! So it's kind of hard to see about any sort of inheritance issues etc. could be relevant.