1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Added Diagnostics panel

This commit is contained in:
Brian Fiete 2020-07-18 06:50:28 -07:00
parent 015470203b
commit 86a41649ec
12 changed files with 150 additions and 76 deletions

View file

@ -1299,16 +1299,23 @@ BF_EXPORT void BF_CALLTYPE Debugger_ForegroundTarget()
//BF_ASSERT(worked);
}
BF_EXPORT const char* BF_CALLTYPE Debugger_GetProcessInfo()
{
String& outString = *gTLStrReturn.Get();
outString = gDebugger->GetProcessInfo();
return outString.c_str();
}
BF_EXPORT const char* BF_CALLTYPE Debugger_GetThreadInfo()
{
String& outString = *gTLStrReturn.Get();
String& outString = *gTLStrReturn.Get();
outString = gDebugger->GetThreadInfo();
return outString.c_str();
}
BF_EXPORT void BF_CALLTYPE Debugger_SetActiveThread(int threadId)
{
gDebugger->SetActiveThread(threadId);
gDebugger->SetActiveThread(threadId);
}
BF_EXPORT int BF_CALLTYPE Debugger_GetActiveThread()