aboutsummaryrefslogtreecommitdiff
path: root/src/common/Debugging
AgeCommit message (Collapse)Author
2021-01-03Core: whitespace cleanup, reduce double blank line to single (#25795)Kargatum
* Core/Misc: fix double empty line * worldserver.conf
2020-12-31Core/Misc: Fix Windows 32 bits buildjackpoz
Close #25789
2020-08-07Core/CrashHandler: Skip logging stack trace of the thread writing the crash ↵Shauren
log, it was launched by windows with same context as crashing thread
2020-08-07Core/CrashHandler: Remove logging function variation depending on crash ↵Shauren
reason and print directly to file, not to temporary buffer
2020-08-07Core/CrashHandler: NULL -> nullptrShauren
2020-08-07Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed ↵Shauren
file being all red in editor
2020-08-07Core/CrashHandler: Attempt to extract C++ exception object in uncaught ↵Shauren
exception hander
2020-08-04Core/Misc: Fix compile errors found with msvc /permissive-Shauren
2020-06-26Core/Common: Add macro ASSERT_WITH_SIDE_EFFECTS to be used when asserting ↵jackpoz
conditions that have side effects
2020-03-09Core/Common: Allow to show a message when abortingjackpoz
Add a new ABORT_MSG macro that allows to show a formatted message before stopping the executable
2020-01-02New yearAokromes
Say bye bye to every year changing dates
2019-04-28Core/CrashHandler: Update placeholder textjackpoz
2019-04-28Core/CrashHandler: Remove sensible data from crashlogsjackpoz
2019-03-31Core/Misc: Fix GCC 8 warningsjackpoz
2019-02-16Core/Misc: Improved error message reported by ASSERT_NOTNULLShauren
(cherry picked from commit d184768bbc333af0b34e860839d71c1bd310f7e4)
2019-01-01Happy New Year, folks. It's 2019!Treeston
2018-12-16Core/Misc: Fix vsnprintf usage in ASSERT()jackpoz
Fix vsnprintf to follow standard definition and not some old VC++ behavior, not requiring to include the '\0' character in the count parameter
2018-12-14Core/Misc: Log more information in asserts (#22783)Giacomo Pozzoni
* Core/Misc: Log more information in asserts Add a new function GetDebugInfos() to types that could trigger an ASSERT() to easily include more useful information in crashlogs. This is an initial commit that requires many more commits to implement the new GetDebugInfos() function in all required types. If the type doesn't have the function, the global default one is picked which doesn't log anything. * Core/Misc: Fix dynamic build Add missing attribute for dynamic build * Core/Misc: Fix gcc/clang build * Core/Misc: Rename GetDebugInfos() to GetDebugInfo() * Core/Misc: Fix FormatAssertionMessage() adding an extra '\0' * Core/Misc: Add GetDebugInfo support to Unit * Core/Misc: Add GetDebugInfo support to Creature * Core/Misc: Add more info to GetDebugInfo for Creature * Core/Misc: Add GetDebugInfo support to GameObject * Core/Misc: Add GetDebugInfo support to Player * Core/Misc: Add more GetDebugInfo info * Core/Misc: Add GetDebugInfo support to Item * Core/Misc: Add GetDebugInfo support to Bag * Core/Misc: Add GetDebugInfo support to Transport * Core/Misc: Add GetDebugInfo support to TempSummon, Minion, Guardian, Pet * Core/Misc: Add GetDebugInfo support to Map, InstanceMap * Core/Misc: Add GetDebugInfo support to Spell * Core/Misc: Fix build warning * Core/Misc: Add GetDebugInfo support to Aura * Core/Misc: Add GetDebugInfo support to UnitAI
2018-10-27Fix invalid arguments to string format in Trinity::FatalWarpten
Isn't whatever is used nowadays to make this stuff safe supposed to prevent this sort of stuff?
2018-09-27Core/Misc: constexpr a bunch of things, and a missing include of Windows.h ↵Treeston
somewhere (that last one wasn't me!)
2018-08-29Core/CrashHandler: Include assertion messages in crash reportsShauren
2018-03-10Core/CrashHandler: Fixed generating crash logs from CRT debug assertionsShauren
(cherry picked from commit abdf6479ddbf42c8b53cb943c54203211ceb0691)
2018-02-17Core/Misc: Add PERFORMANCE_PROFILING CMake optionjackpoz
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance. This option is unsupported, do not report any issue happening when enabling this option.
2018-01-01Core/Crash reporting: Add support to char* arraysjackpoz
Add support to char* array showing the string value instead of the pointer address
2018-01-01Update copyright note for 2018tkrokli
Best wishes for the new year.
2017-12-02Core/Crash reporting: Fix buffer overflowjackpoz
2017-11-25Misc: More cleanupAokromes
2017-08-11Core/Misc: Remove Whitespacessirikfoll
2017-07-16Core/Misc: Fix static analysis issuesjackpoz
2017-06-19Core: ported headers cleanup from master branchariel-
2017-05-23Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ ↵Shauren
to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib) (cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
2017-03-19Core/Crash: Refactor and fixesjackpoz
Code cleanup. Fix buffer overflow crash. Fix type being truncated to 199 characters.
2017-01-02Update Copyright notice for 2017tkrokli
Happy new year!
2016-08-04Common/Debugging: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Code functionality shouldn't have been modified.
2016-07-03Core/Crash reporting: Better handle max nesting level settingjackpoz
Fix wheaty exception report counting reference symbols as 2 nesting levels, not logging child objects in some cases, i.e. spell id in SpellEvent crash.
2016-03-24Core/Common: Converted the common library to a shared library.Naios
* There is still the possibility to static link against common. (cherry picked from commit 501fd9b50232ca3ae3623877c3e521c9c1f894be)
2016-03-12Core/Misc: fix buildMitchesD
(cherry picked from commit ce5def332fa12ea4b2f3223fbaa4e41750da9cfb)
2016-03-12Core/Debugging: Make abort() less bad on windows by forcing crash log generationShauren
(cherry picked from commit dea7d429abe5143672154784f93e4b19020062d5) # Conflicts: # src/server/bnetserver/Main.cpp
2016-03-12Core: Revert failVincent-Michael
(cherry picked from commit b5329d8a0394888fdf955afe0ac726ad63534220)
2016-03-12Core: Added missing overridesVincent-Michael
(cherry picked from commit 5d584116feab33ac04135e46ba9b43738a02e106)
2016-01-01Update copyright note for 2016Rushor
2015-11-14Core/DBLayer: Improve error message from ↵Shauren
0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11 (cherry picked from commit d31706b07e5e4a4d632f5deea7076e864b467bbe)
2015-11-07Core: Whitespace cleanupVincent-Michael
2015-10-29Core/Crash reporting: Fixed windows version detection for 8.1 and newerShauren
(cherry picked from commit 4c866a0af0ffe1828c5694de7ef7007cefb46966)
2015-09-22Partially revert "Core/Build: Added missing abort() calls on error handlers"Shauren
This reverts commit 8ea17647e6bced9d4d027c94ecdc63369cb4c6df.
2015-09-21Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick ↵StormBytePP
hack to crash the core misusing assert
2015-08-16Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure ↵StormBytePP
when old revision.h file is present
2015-08-16Core/BuildSystem: Merge collision, debugging, threading, utilities and ↵StormBytePP
configuration into "common" which does not depend on shared anymore and moved database out of shared library These changes enables to build tools only without even having MySQL installed