forked from qt-creator/qt-creator
Debugger/Console stub: Pass on main thread id on Windows.
Introduce private class to utils/ConsoloProcess as not to expose <windows.h> from its header. Task-number: QTCREATORBUG-1020
This commit is contained in:
@@ -208,6 +208,7 @@ int main()
|
||||
|
||||
SetConsoleCtrlHandler(ctrlHandler, TRUE);
|
||||
|
||||
sendMsg("thread %d\n", pi.dwThreadId);
|
||||
sendMsg("pid %d\n", pi.dwProcessId);
|
||||
|
||||
if (WaitForSingleObject(pi.hProcess, INFINITE) == WAIT_FAILED)
|
||||
|
||||
Reference in New Issue
Block a user