Details
Description
I used it on linux and on the mac with succes. Lately I have to use windows. Unfortunately I have a problem with debuggen. When I use openocd with a stm32f3discovery and I stop debugging qt creator crashes. I have tested it with Windows 7 and with Windows 10 and on different machines. I also tried STLink v2 and a JLink for debugging. All with the same result. When a stop the debug session (hitting the red stop button) qt creator crashes. Furthermore I tried older qt creator version even back to the latest 3.x builds but it all fails. I am using qbs as project file by the way.
The debugger (to debug QT Creator) stops at the following code:
Code idevice.cpp line 462:
void DeviceProcessSignalOperation::setDebuggerCommand(const QString &cmd)
{
m_debuggerCommand = cmd;
}
ProjectExplorerd4.dll!QtPrivate::FunctorCall<QtPrivate::IndexesList<>,QtPrivate::List<>,void,void (__thiscall ProjectExplorer::RunWorker::*)(void)>::call(void(ProjectExplorer::RunWorker::*)() f, ProjectExplorer::RunWorker * o, void * * arg) Line 136 ProjectExplorerd4.dll!QtPrivate::FunctionPointer<void (__thiscall ProjectExplorer::RunWorker::*)(void)>::call<QtPrivate::List<>,void>(void(ProjectExplorer::RunWorker::*)() f, ProjectExplorer::RunWorker * o, void * * arg) Line 169 ProjectExplorerd4.dll!QtPrivate::QSlotObject<void (__thiscall ProjectExplorer::RunWorker::*)(void),QtPrivate::List<>,void>::impl(int which, QtPrivate::QSlotObjectBase * this_, QObject * r, void * * a, bool * ret) Line Qt5Cored.dll!QtPrivate::QSlotObjectBase::call(QObject * r, void * * a) Line 101 Qt5Cored.dll!QSingleShotTimer::timerEvent(QTimerEvent * __formal) Line 320 Qt5Cored.dll!QObject::event(QEvent * e) Line 1228 Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3717 Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3089 Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1018 Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 233 Qt5Cored.dll!QEventDispatcherWin32::event(QEvent * e) Line 1037 Qt5Widgetsd.dll!QApplicationPrivate::notify_helper(QObject * receiver, QEvent * e) Line 3717 Qt5Widgetsd.dll!QApplication::notify(QObject * receiver, QEvent * e) Line 3089 Qt5Cored.dll!QCoreApplication::notifyInternal2(QObject * receiver, QEvent * event) Line 1018 Qt5Cored.dll!QCoreApplication::sendEvent(QObject * receiver, QEvent * event) Line 233 Qt5Cored.dll!QCoreApplicationPrivate::sendPostedEvents(QObject * receiver, int event_type, QThreadData * data) Line 167 Qt5Cored.dll!QEventDispatcherWin32::sendPostedEvents() Line 1062 qwindowsd.dll!QWindowsGuiEventDispatcher::sendPostedEvents() Line 82 Qt5Cored.dll!qt_internal_proc(HWND__ * hwnd, unsigned int message, unsigned int wp, long lp) Line 236 Qt5Cored.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 627 qwindowsd.dll!QWindowsGuiEventDispatcher::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 74 Qt5Cored.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 135 Qt5Cored.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 212 Qt5Cored.dll!QCoreApplication::exec() Line 1291 Qt5Guid.dll!QGuiApplication::exec() Line 1680 Qt5Widgetsd.dll!QApplication::exec() Line 2906 qtcreator.exe!main(int argc, char * * argv) Line 533 qtcreator.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 104