I encounter often a strange effect: In Debug Rapid compilation mode, I sometimes get this error when calling for example a click event of a button. In Debug Legacy mode, the error does not come up.
Is this because there is something like a stack of functions called that is not cleared ? How to "refresh" this ?
Example: I have a button to activate the camera:
btn_startcam
...
camera1.startpreview
end sub
In the picturetaken sub, the camera1 preview is stopped.
Any ideas about this error message ? (not only in this example but in other programs also with other sub calls .... causing the application to stop immediately)
Thank you, Chris