I ran into a problem while running your Qt example in debug mode. Everything works fine until you want to close the app with the 'X' button. When you do that, VS throws this exception:
Upon further investigation, I found out that this issue is related to the BLE connection, as the app closes normally until connected to the probes Bluetooth module (searching for available modules is fine, but after a successful BLE connection, it doesn't matter if you are connected to TCP/IP port or not, an exception is thrown when you try to close the application).
Steps to reproduce the behavior:
Run app on Debug mode
Go to BLE tab (you don't have to retrieve the probe credentials)
Click on Search and Connect
Close the app via 'X' button
See error
Additional steps to reveal the cause of this issue prompted me to check for memory leaks.
(simple _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);)
After closing the app (nothing is connected, just opening the app and closing it right after) this message is printed in the terminal output:
I ran into a problem while running your Qt example in debug mode. Everything works fine until you want to close the app with the 'X' button. When you do that, VS throws this exception:
Upon further investigation, I found out that this issue is related to the BLE connection, as the app closes normally until connected to the probes Bluetooth module (searching for available modules is fine, but after a successful BLE connection, it doesn't matter if you are connected to TCP/IP port or not, an exception is thrown when you try to close the application).
Steps to reproduce the behavior:
Additional steps to reveal the cause of this issue prompted me to check for memory leaks. (simple _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);) After closing the app (nothing is connected, just opening the app and closing it right after) this message is printed in the terminal output:
Environment:
Hope this helps :)