Another fix in debug trace.
All checks were successful
The build was successful.

This commit is contained in:
Rafal Kupiec 2018-09-14 22:22:37 +02:00
parent 94ae7d187b
commit faca9b7fb2
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 18 additions and 16 deletions

View File

@ -1733,6 +1733,7 @@ PH7_PRIVATE sxi32 VmExtractDebugTrace(ph7_vm *pVm, SySet *pDebugTrace) {
break; break;
} }
} }
if(aTrace.pFile) {
aTrace.pClassName = NULL; aTrace.pClassName = NULL;
aTrace.bThis = FALSE; aTrace.bThis = FALSE;
if(pFunc->iFlags & VM_FUNC_CLASS_METHOD) { if(pFunc->iFlags & VM_FUNC_CLASS_METHOD) {
@ -1751,6 +1752,7 @@ PH7_PRIVATE sxi32 VmExtractDebugTrace(ph7_vm *pVm, SySet *pDebugTrace) {
break; break;
} }
} }
}
/* Roll frame */ /* Roll frame */
pVm->pFrame = pVm->pFrame->pParent; pVm->pFrame = pVm->pFrame->pParent;
} }