1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 16:10:26 +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

@ -273,6 +273,9 @@ namespace IDE.Debugger
[CallingConvention(.Stdcall),CLink]
static extern char8* CallStack_GetStackMethodOwner(int32 stackFrameIdx, out int32 language);
[CallingConvention(.Stdcall),CLink]
static extern char8* Debugger_GetProcessInfo();
[CallingConvention(.Stdcall),CLink]
static extern char8* Debugger_GetThreadInfo();
@ -967,6 +970,14 @@ namespace IDE.Debugger
outStr.Append(str);
}
public void GetProcessInfo(String outProcessInfo)
{
if (!mIsRunning)
return;
char8* strPtr = Debugger_GetProcessInfo();
outProcessInfo.Append(strPtr);
}
public void GetThreadInfo(String outThreadInfo)
{
if (!mIsRunning)