Bug 1345363: Don't truncate debugging information. r=jwwang

NS_DebugBreak truncate all output to 500 characters.

MozReview-Commit-ID: 1gEyJNge7gk

--HG--
extra : rebase_source : 0996ef25dd14cc8f5fe03672d85d37cfcc3ab14a
This commit is contained in:
Jean-Yves Avenard 2017-03-10 11:21:41 +01:00
parent cb9fc26751
commit 04af6071b4

View File

@ -61,7 +61,7 @@ LazyLogModule gMediaDecoderLog("MediaDecoder");
MOZ_LOG(gMediaDecoderLog, LogLevel::Debug, ("Decoder=%p " x, this, ##__VA_ARGS__))
#define DUMP_LOG(x, ...) \
NS_DebugBreak(NS_DEBUG_WARNING, nsPrintfCString("Decoder=%p " x, this, ##__VA_ARGS__).get(), nullptr, nullptr, -1)
printf_stderr("%s\n", nsPrintfCString("Decoder=%p " x, this, ##__VA_ARGS__).get())
#define NS_DispatchToMainThread(...) CompileError_UseAbstractMainThreadInstead