- Debugger is guarded behind tools.

This commit is contained in:
HarrievG 2021-05-13 09:26:16 +02:00 committed by Daniel Gibson
parent a8709206d8
commit cd9284d876
2 changed files with 5 additions and 0 deletions

View file

@ -3310,7 +3310,9 @@ bool idCommonLocal::GetAdditionalFunction(idCommon::FunctionType ft, idCommon::F
void idCommonLocal::DebuggerCheckBreakpoint(idInterpreter* interpreter, idProgram* program, int instructionPointer)
{
#ifdef ID_ALLOW_TOOLS
DebuggerServerCheckBreakpoint(interpreter, program, instructionPointer);
#endif
}
idGameCallbacks gameCallbacks;

View file

@ -992,7 +992,10 @@ int main(int argc, char *argv[]) {
// Launch the script debugger
if ( strstr( GetCommandLine(), "+debugger" ) ) {
#ifdef ID_ALLOW_TOOLS
DebuggerClientInit(GetCommandLine());
#endif
return 0;
}