mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 08:06:04 +02:00
Added watch lock, watch stack offsets (ie: {1}, {Func^2})
This commit is contained in:
parent
6833c12fc8
commit
56cc35f266
10 changed files with 558 additions and 35 deletions
|
@ -268,6 +268,9 @@ namespace IDE.Debugger
|
|||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern char8* CallStack_GetStackFrameInfo(int32 stackFrameIdx, out int addr, out char8* outFile, out int32 hotIdx, out int32 defLineStart, out int32 defLineEnd, out int32 outLine, out int32 outColumn, out int32 outLanguage, out int32 outStackSize, out FrameFlags flags);
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern char8* CallStack_GetStackFrameId(int32 stackFrameIdx);
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern char8* Callstack_GetStackFrameOldFileInfo(int32 stackFrameIdx);
|
||||
|
||||
|
@ -1256,5 +1259,14 @@ namespace IDE.Debugger
|
|||
outText.Append(str);
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool GetStackFrameId(int32 callStackIdx, String outString)
|
||||
{
|
||||
char8* stackId = CallStack_GetStackFrameId(callStackIdx);
|
||||
if (stackId == null)
|
||||
return false;
|
||||
outString.Append(stackId);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue