mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 03:28:02 +02:00
Added "Keep Native Console Open" option
This commit is contained in:
parent
fd3bd861ae
commit
8052066ab0
18 changed files with 423 additions and 41 deletions
|
@ -270,7 +270,7 @@ namespace IDE.Debugger
|
|||
static extern char8* Debugger_GetCollectionContinuation(char8* continuationData, int32 callStackIdx, int32 count);
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern void Debugger_ForegroundTarget();
|
||||
static extern void Debugger_ForegroundTarget(int32 altProcessId);
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern void CallStack_Update();
|
||||
|
@ -314,6 +314,9 @@ namespace IDE.Debugger
|
|||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern char8* Debugger_GetProcessInfo();
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern int32 Debugger_GetProcessId();
|
||||
|
||||
[CallingConvention(.Stdcall),CLink]
|
||||
static extern char8* Debugger_GetThreadInfo();
|
||||
|
||||
|
@ -912,9 +915,9 @@ namespace IDE.Debugger
|
|||
outVal.Append(result);
|
||||
}
|
||||
|
||||
public void ForegroundTarget()
|
||||
public void ForegroundTarget(int32 altProcessId)
|
||||
{
|
||||
Debugger_ForegroundTarget();
|
||||
Debugger_ForegroundTarget(altProcessId);
|
||||
}
|
||||
|
||||
public void UpdateCallStack()
|
||||
|
@ -1079,6 +1082,13 @@ namespace IDE.Debugger
|
|||
outProcessInfo.Append(strPtr);
|
||||
}
|
||||
|
||||
public int32 GetProcessId()
|
||||
{
|
||||
if (!mIsRunning)
|
||||
return 0;
|
||||
return Debugger_GetProcessId();
|
||||
}
|
||||
|
||||
public void GetThreadInfo(String outThreadInfo)
|
||||
{
|
||||
if (!mIsRunning)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue