Bug? B4a-Bridge send message to waiting queue

SteveTerrell

Active Member
Licensed User
Longtime User
B4A 3.82, Windows XP B4A-Bridge v2.09

I do a lot of debugging using the legacy debugger connected by wifi to a Galaxy Nexus 7 - Android 4.4.4.

The application on the Nexus is communication continually (every 0.5s) using ASyncSerial with a BT module.

Randomly? after a while the debugger pane on the XP development system will disappear and the log shows:

Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)

The log window continues to be updated and the application continues to run but I have lost my debugging functions. Is there some way of preventing this from happening?
 

SteveTerrell

Active Member
Licensed User
Longtime User
Good point! No and will do next time it happens.

Unfiltered log does not look particularly helpful!
The non ** logs after PackageAdded up to "Received:?" are mine.

I am not sure exactly when the debugger disconnected, it was some time after the "Received:?"

B4X:
PackageAdded: package:trs.ResistanceMeter
** Activity (main) Create, isFirst = true **
log file is /storage/emulated/0/Android/data/trs.ResistanceMeter/files/ResistanceMeter.log
** Activity (main) Resume **
Main resume
** Service (trsbluetoothservice) Create **
Service created
** Service (trsbluetoothservice) Start **
Service started
Bluetooth adapter already enabled
bt admin state change: STATE_ON
Retry connect
Trying to connect to 98:D3:31:20:0B:EC
Connected
Serial connected
Starting comms
16:01:01:742::bt state manager 0->1 establish comms
16:01:01:810::bt state manager 1->2 Received ?
Received:? 
GC_CONCURRENT freed 392K, 7% free 9349K/9988K, paused 7ms+6ms, total 62ms
GC_CONCURRENT freed 383K, 7% free 9349K/9948K, paused 9ms+2ms, total 57ms
GC_CONCURRENT freed 384K, 7% free 9349K/9948K, paused 4ms+6ms, total 63ms
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
GC_CONCURRENT freed 345K, 5% free 9499K/9948K, paused 23ms+16ms, total 58ms
GC_CONCURRENT freed 534K, 7% free 9349K/9948K, paused 8ms+1ms, total 58ms
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
GC_CONCURRENT freed 251K, 5% free 9500K/9948K, paused 3ms+1ms, total 31ms
 
Top