MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / Debug_Init

Function Debug_Init

ddebug/lnxdebug.cpp:53–63  ·  view source on GitHub ↗

if we are running under a debugger, then pass true

Source from the content-addressed store, hash-verified

51
52// if we are running under a debugger, then pass true
53bool Debug_Init(bool debugger) {
54#ifndef RELEASE
55 Debug_break = debugger;
56
57 if (Debug_break)
58 mprintf(0, "Debug Break enabled.\n");
59
60#endif // ifndef RELEASE
61
62 return true;
63}
64
65// Does a messagebox with a stack dump
66// Messagebox shows topstring, then stack dump, then bottomstring

Callers 1

error_InitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected