mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Diagnostic panel support
This commit is contained in:
parent
f034880723
commit
2e656e88f3
1 changed files with 17 additions and 0 deletions
|
@ -357,9 +357,15 @@ namespace IDE.Debugger
|
||||||
[CallingConvention(.Stdcall),CLink]
|
[CallingConvention(.Stdcall),CLink]
|
||||||
static extern char8* Debugger_GetHotResolveData(uint8* outTypeData, int32* outTypeDataSize);
|
static extern char8* Debugger_GetHotResolveData(uint8* outTypeData, int32* outTypeDataSize);
|
||||||
|
|
||||||
|
[CallingConvention(.Stdcall),CLink]
|
||||||
|
static extern char8* Debugger_GetDbgAllocInfo();
|
||||||
|
|
||||||
[CallingConvention(.Stdcall),CLink]
|
[CallingConvention(.Stdcall),CLink]
|
||||||
static extern void Debugger_SetAliasPath(char8* origPath, char8* localPath);
|
static extern void Debugger_SetAliasPath(char8* origPath, char8* localPath);
|
||||||
|
|
||||||
|
[CallingConvention(.Stdcall),CLink]
|
||||||
|
static extern int Debugger_GetDbgAllocHeapSize();
|
||||||
|
|
||||||
public String mRunningPath ~ delete _;
|
public String mRunningPath ~ delete _;
|
||||||
public bool mIsRunning;
|
public bool mIsRunning;
|
||||||
public bool mIsRunningCompiled;
|
public bool mIsRunningCompiled;
|
||||||
|
@ -1139,6 +1145,12 @@ namespace IDE.Debugger
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void GetDbgAllocInfo(String outInfo)
|
||||||
|
{
|
||||||
|
char8* result = Debugger_GetDbgAllocInfo();
|
||||||
|
outInfo.Append(result);
|
||||||
|
}
|
||||||
|
|
||||||
public static void GetFailString(StringView result, StringView expr, String outFailStr)
|
public static void GetFailString(StringView result, StringView expr, String outFailStr)
|
||||||
{
|
{
|
||||||
Debug.Assert(result[0] == '!');
|
Debug.Assert(result[0] == '!');
|
||||||
|
@ -1182,5 +1194,10 @@ namespace IDE.Debugger
|
||||||
{
|
{
|
||||||
Debugger_SetAliasPath(origPath, localPath);
|
Debugger_SetAliasPath(origPath, localPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int GetDbgAllocHeapSize()
|
||||||
|
{
|
||||||
|
return Debugger_GetDbgAllocHeapSize();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue