Bug? callsub or wait for does not work in debugger

dcoun

Member
Licensed User
Longtime User
Hi,
I have created a class in which a CallSub sends to the calling activity a "message", ex.
B4X:
CallSub(target,"QueryDone")
During initialiazation of this class:
B4X:
Public Sub Initialize(wd As Object)
    target=wd
end sub
In the calling activity the code is like the following
B4X:
Private wq As myclass 
wq.initialize(Me)
wq.dothisjob
Wait For (wq) QueryDone
If Not(wq.queryOK) Then blabla

The above code worked oK in both debug and release. Now it works only in release.
the "QueryDone" is not received in debug release, it works on release and in release with BridgeLogger
 
Top