58 Commits

Author SHA1 Message Date
mstoltz%netscape.com
f0864e4a2d Whoops, accidentally checked something that shouldn't be. Uncommenting-out
the break call in Assertion() (backing out earlier checkin)


git-svn-id: svn://10.0.0.236/trunk@99523 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 21:46:18 +00:00
mstoltz%netscape.com
1ac430a069 Fixing blocker bug 90197 by backing out fix for 87913 that changed the behavior of
ComponentManager::AutoRegister and instead using patch v2 from 87913 which
adds a new function rather than changing the existing one. r=mstoltz, dveditz.


git-svn-id: svn://10.0.0.236/trunk@99104 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-12 04:00:24 +00:00
waterson%netscape.com
6b29b6a55f Bug 75198. Support XPCOM_DEBUG_BREAK=warn on Win32. r=brendan, sr=scc
git-svn-id: svn://10.0.0.236/trunk@93348 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 02:10:18 +00:00
jband%netscape.com
1748df2ff5 fix bug 54792 by running assert dialog out or process on Win32. r=danm sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90208 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 06:57:17 +00:00
waterson%netscape.com
e391417cec Bug 72905. Add 'trap' to XPCOM_DEBUG_BREAK flags to bust into the debugger on asserts. r=sspitzer, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90207 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 06:21:41 +00:00
sspitzer%netscape.com
9a8f8e2f66 minor fix. sr=warren
git-svn-id: svn://10.0.0.236/trunk@82443 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 23:59:13 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mkaply%us.ibm.com
86f29b1dd8 #48208
r=dougt, a=brendan
Don't DebugBreak if the messagebox got an error displaying


git-svn-id: svn://10.0.0.236/trunk@77928 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:41:42 +00:00
dmose%mozilla.org
185aabb68c add debugging frobs to XP_UNIX platforms. setenv XPCOM_DEBUG_BREAK to make NS_ASSERTION have other behaviors, like dumping the stack to stderr or sending SIGSTOP to the pgrp to allow attaching with gdb for race condition debugging. r=bryner@netscape.com, a=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@76317 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:09:39 +00:00
ruslan%netscape.com
bb6667a9c2 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful
git-svn-id: svn://10.0.0.236/trunk@73702 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:58:28 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
mkaply%us.ibm.com
1e74f6b8a9 #42637
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier


git-svn-id: svn://10.0.0.236/trunk@72656 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:59:17 +00:00
dougt%netscape.com
600b867627 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.


git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
dbragg%netscape.com
feb6571090 Oops. Was checking into a branch that was created in the io directory only.
Backing out.


git-svn-id: svn://10.0.0.236/trunk@65451 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:40:25 +00:00
dbragg%netscape.com
d0fdac4dbe checked in to XPInstall IFile branch
git-svn-id: svn://10.0.0.236/trunk@65445 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:35:05 +00:00
cls%seawood.org
ac2404dde2 Changes to get the BeOS build running. Patch provided by Yannick Koehler <koehler@mythrium.com> .
git-svn-id: svn://10.0.0.236/trunk@65278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 02:12:26 +00:00
sspitzer%netscape.com
e185151db4 fix a typo.
git-svn-id: svn://10.0.0.236/trunk@63798 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:49:32 +00:00
warren%netscape.com
61bd096c8a Fixed mac problem -- missing getenv.
git-svn-id: svn://10.0.0.236/trunk@62391 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 11:24:10 +00:00
warren%netscape.com
84f531a52e Made the thread-safety checking able to be turned on/off by the XPCOM_CHECK_THREADSAFE env var. a=jar,r=mscott
git-svn-id: svn://10.0.0.236/trunk@62390 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 09:21:32 +00:00
vidur%netscape.com
59c2cc11b5 Fix for debug build breakage on Windows. r,a=dp
git-svn-id: svn://10.0.0.236/trunk@62291 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 03:25:04 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
warren%netscape.com
6b2a8fdb04 Bug 21556: Making linux be thread-safe. Exporting NS_CurrentThread from debug builds. a=jar
git-svn-id: svn://10.0.0.236/trunk@62234 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 10:14:50 +00:00
cls%seawood.org
246547ceed BeOS specific tweaks to allow the browser to compile.
Fixed configure.in to properly set developer specific debug flag under BeOS.
Added UNIX_CRASH_ON_ASSERT ifdef to stop BeOS from bring up debugger on non-abort assertions.


git-svn-id: svn://10.0.0.236/trunk@61120 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 08:06:00 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
sfraser%netscape.com
21799bdf04 Make sure that all warnings just printf on Mac, and don't dump you into MacsBug. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@55560 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:21:30 +00:00
mscott%netscape.com
fd5f7b2e1a Fix build breakage for Travis.
git-svn-id: svn://10.0.0.236/trunk@55487 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 00:15:42 +00:00
tbogard%aol.net
489f5b804a Changed the way Assertion works. Get ready to remove all the old assertions methods. NS_ASSERTION now works the same way it used with the exception that on Windows it will put up and abort, retry, ignore box if you aren't in the debugger. r=warren.
git-svn-id: svn://10.0.0.236/trunk@55479 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 23:34:48 +00:00
warren%netscape.com
fed44b6639 Prefixed error/warning messages with something bold and assertive! (And somewhat distinguishable from other output.)
git-svn-id: svn://10.0.0.236/trunk@55003 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 02:37:54 +00:00
warren%netscape.com
b047cad313 Made WarnIfFalse not call abort. Made abort be continuable on Windows. r=travis
git-svn-id: svn://10.0.0.236/trunk@54871 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 05:51:45 +00:00
tbogard%aol.net
392a39500b Flipped the default of the Windows Warning box that can come up. It now requires an environment variable be set to come up.
git-svn-id: svn://10.0.0.236/trunk@54554 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 05:50:22 +00:00
akkana%netscape.com
98ace5c30f AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver
git-svn-id: svn://10.0.0.236/trunk@54438 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:58:20 +00:00
dveditz%netscape.com
f46e700a28 x86 win should join unix and alpha win part of DBG_LOG macro
git-svn-id: svn://10.0.0.236/trunk@54138 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 08:41:04 +00:00
tbogard%aol.net
50c4711b2e NS_WARN_IF_FALSE now by default puts the windows messagebox up on a tripped warning condition. Before it relied on the developer having an environment variable set. r=pink a=sdagley
git-svn-id: svn://10.0.0.236/trunk@53069 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 04:32:33 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
kipp%netscape.com
af9cdee1dc r=brendan; applied changes recommended by brendan
git-svn-id: svn://10.0.0.236/trunk@49741 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-04 23:35:51 +00:00
beard%netscape.com
f547d38744 fix breakage on Mac, r=kipp
git-svn-id: svn://10.0.0.236/trunk@49510 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:45:23 +00:00
beard%netscape.com
cbe4d66df2 fix breakage on Mac
git-svn-id: svn://10.0.0.236/trunk@49509 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:30:32 +00:00
kipp%netscape.com
f68ddc73fb Whoops. Fixed
git-svn-id: svn://10.0.0.236/trunk@49506 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:21:31 +00:00
kipp%netscape.com
19d1505159 Added in new nsDebug macros
git-svn-id: svn://10.0.0.236/trunk@49491 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:39:31 +00:00
akkana%netscape.com
cd7f7cfcb9 Print all warning messages on stdout, not just assertions
git-svn-id: svn://10.0.0.236/trunk@46200 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:15:10 +00:00
jband%netscape.com
c8367e70cd differentiate between Win32 x86 and NT Alpha for a few low level debug activities. From bob meader <bob@guiduck.com>
git-svn-id: svn://10.0.0.236/trunk@41012 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 22:00:00 +00:00
mcafee%netscape.com
b366c7e0ba BeOS changes
git-svn-id: svn://10.0.0.236/trunk@37402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 10:27:58 +00:00
mcmullen%netscape.com
945fc61529 Compromise. On other platforms, NS_WARNING does not call break. So we'll do the same. So for NS_WARNING, we'll simply print to the console and continue, a la mode de Pierre, while for other forms of NS_BLOWCHUNKS, we'll break into the debugger, as of old.
git-svn-id: svn://10.0.0.236/trunk@34615 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:50:56 +00:00
sfraser%netscape.com
da9bcac667 Back out pierre change, so that NS_ASSERTION calls DebugStr once again. Doing this on the basis of consensus at 7/6 macdev meeting.
git-svn-id: svn://10.0.0.236/trunk@34291 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:13:40 +00:00
pierre%netscape.com
79a9957748 (Mac only) PR_LOG() calls printf() with a "¥¥¥" header instead of falling into MacsBug.
git-svn-id: svn://10.0.0.236/trunk@33847 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:04:28 +00:00
akkana%netscape.com
3a70f7a5cb New build option enable-crash-on-assert for those who really want the old behavior
git-svn-id: svn://10.0.0.236/trunk@31157 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:22:24 +00:00
akkana%netscape.com
d5ac952adc Make NS_ASSERTION and DebugBreak not crash on Unix
git-svn-id: svn://10.0.0.236/trunk@30693 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:12 +00:00
warren%netscape.com
23227822ab Added missing flush.
git-svn-id: svn://10.0.0.236/trunk@24414 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 05:42:20 +00:00
ramiro%netscape.com
026fef7a70 AIX portability fixes. (Waqar Malik <waqar@netscape.com>)
git-svn-id: svn://10.0.0.236/trunk@22426 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 06:29:14 +00:00