Bug 195289 Enable people to use DumpJSStack and friends from nondebug builds if they list themselves as xpc_hackers

r=dbradley sr=jst
This commit is contained in:
timeless%mozdev.org 2003-03-05 03:12:04 +00:00
Родитель bb2dc7a28b
Коммит 7f71c61b64
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -33,8 +33,8 @@
* file under either the NPL or the GPL.
*/
#ifdef DEBUG
#include "xpcprivate.h"
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
#ifdef TAB
#undef TAB

Просмотреть файл

@ -129,7 +129,7 @@
// Note that one would not normally turn *any* of these on in a non-DEBUG build.
#if defined(DEBUG_jband) || defined(DEBUG_jst) || defined(DEBUG_dbradley) || defined(DEBUG_shaver)
#if defined(DEBUG_jband) || defined(DEBUG_jst) || defined(DEBUG_dbradley) || defined(DEBUG_shaver) || defined(DEBUG_timeless)
#define DEBUG_xpc_hacker
#endif
@ -1643,7 +1643,7 @@ protected:
const XPCNativeScriptableCreateInfo* scriptableCreateInfo);
private:
#ifdef DEBUG
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
static PRInt32 gDEBUG_LiveProtoCount;
#endif

Просмотреть файл

@ -37,7 +37,7 @@
#include "xpcprivate.h"
#ifdef DEBUG
#if defined(DEBUG_xpc_hacker) || defined(DEBUG)
PRInt32 XPCWrappedNativeProto::gDEBUG_LiveProtoCount = 0;
#endif