1
0
Fork 0

DBG: improved various variable sets with conditional breakpoints

This commit is contained in:
mrexodia 2016-10-31 05:38:33 +01:00
parent d63a39ad80
commit 43558700d9
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 2 additions and 4 deletions

View File

@ -871,12 +871,10 @@ static void cbGenericBreakpoint(BP_TYPE bptype, void* ExceptionAddress = nullptr
{
//TODO: commands like run/step etc will fuck up your shit
varset("$breakpointcondition", breakCondition ? 1 : 0, false);
varset("$breakpointlogcondition", logCondition, true);
varset("$breakpointlogcondition", logCondition ? 1 : 0, true);
_dbg_dbgcmddirectexec(bp.commandText);
duint script_breakcondition;
int size;
VAR_TYPE type;
if(varget("$breakpointcondition", &script_breakcondition, &size, &type))
if(varget("$breakpointcondition", &script_breakcondition, nullptr, nullptr))
{
if(script_breakcondition != 0)
{