mirror of https://github.com/buggins/dlangide.git
Fix locals not showing with mago-mi.exe on Windows. Issue #192
This commit is contained in:
parent
c566de2633
commit
d2593f2b33
|
|
@ -144,6 +144,14 @@ DebugThreadList parseThreadList(MIValue params) {
|
||||||
res.threads ~= t;
|
res.threads ~= t;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Workaround for answer threads=[]
|
||||||
|
if (res.length == 0)
|
||||||
|
{
|
||||||
|
auto mainTh = new DebugThread();
|
||||||
|
mainTh.id = res.currentThreadId;
|
||||||
|
mainTh.name = "Single";
|
||||||
|
res.threads ~= mainTh;
|
||||||
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue