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:
parent
015470203b
commit
86a41649ec
12 changed files with 150 additions and 76 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue