mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added @Script: support to breakpoints
This commit is contained in:
parent
2d8bf1b11b
commit
2a2913f857
4 changed files with 83 additions and 18 deletions
|
@ -13690,6 +13690,19 @@ namespace IDE
|
|||
{
|
||||
mSymSrvStatus.Set(param);
|
||||
}
|
||||
else if (cmd == "script")
|
||||
{
|
||||
String absTestPath = scope String();
|
||||
if (mWorkspace.mDir != null)
|
||||
Path.GetAbsolutePath(param, mWorkspace.mDir, absTestPath);
|
||||
else
|
||||
Path.GetFullPath(param, absTestPath);
|
||||
if (mScriptManager.mFailed)
|
||||
mScriptManager.Clear();
|
||||
mScriptManager.mSoftFail = true;
|
||||
mScriptManager.SetTimeoutMS(20*60*1000); // 20 minute timeout
|
||||
mScriptManager.QueueCommandFile(absTestPath);
|
||||
}
|
||||
else
|
||||
{
|
||||
Runtime.FatalError("Invalid debugger message type");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue