-
Notifications
You must be signed in to change notification settings - Fork 167
Description
All the example code provided with depthai-core (just downloaded) is working on my Windows 10 (latest). If I set a breakpoint anywhere, it correctly hits that breakpoint and I am able to inspect variables. I can even single step through the code. However, if I hit "Continue" the execution, it always fails. The error is below. It doesn't matter which example I choose to test with, hit a breakpoint and it is unable to continue execution.
Have you seen this before?
Bob Davies
Unhandled exception at 0x00007FFEC0A94ED9 in edge_detector.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0000000B5C6FE5C8.
The location is here in DataQueue.hpp:
template <class T>
std::shared_ptr<T> get() {
if(!running) throw std::runtime_error(exceptionMessage.c_str()); <<<<<<<<<<<<<<<<<<running is false so exception
std::shared_ptr<ADatatype> val = nullptr; <<<<<<<<< next instruction...
if(!queue.waitAndPop(val)) {
throw std::runtime_error(exceptionMessage.c_str());
return nullptr;
}
return std::dynamic_pointer_cast<T>(val);
}
It also happens in tryGet, depending on the example app, with the same value for running (false.)