mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Don't break in ce debugger when Fail is ignored (ie: unspec variants)
This commit is contained in:
parent
51713a1e34
commit
b1e1720f9d
1 changed files with 2 additions and 3 deletions
|
@ -5616,9 +5616,8 @@ bool CeContext::Execute(CeFunction* startFunction, uint8* startStackPtr, uint8*
|
|||
|
||||
auto _Fail = [&](const StringImpl& error)
|
||||
{
|
||||
Fail(_GetCurFrame(), error);
|
||||
|
||||
if (mCeMachine->mDebugger != NULL)
|
||||
auto bfError = Fail(_GetCurFrame(), error);
|
||||
if ((bfError != NULL) && (mCeMachine->mDebugger != NULL))
|
||||
{
|
||||
mCeMachine->mDebugger->OutputRawMessage(StrFormat("error %s", error.c_str()));
|
||||
_DbgPause();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue