aboutsummaryrefslogtreecommitdiff
path: root/src/common/Debugging/Errors.cpp
AgeCommit message (Collapse)Author
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-02-11Core/Misc: Explicitly include required headers instead of relying on them to ↵Shauren
be included by other headers
2021-12-22Core/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 (cherry picked from commit 0ddee8a4a03fb5c7ee8d18144ca21cd2baad6f01)
2021-11-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 (cherry picked from commit eee1f2cadf8174caca4849c22ba1fb8f12fc9e08)
2021-11-16Core/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 (cherry picked from commit 9a924fb9d557434c5a2e4020c80db6e6bfe466ad)
2021-11-15Fix 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? (cherry picked from commit 9bf69b3849a9d78f3e8d174ed6367a259aaf876f)
2021-11-12Core/Misc: Add a missing include of Windows.h to Errors.cppTreeston
(that last one wasn't me!) (cherry picked from commit 1dc675f0a17d9c7d1b6e9a07d5c25cdd79bb8788)
2021-10-31Core/Misc: FIx a GCC warningShauren
2021-10-23Core/CrashHandler: Include assertion messages in crash reportsShauren
(cherry picked from commit 62db1fb683c13b8dde0cc359564e090e0594658f)
2020-08-14Core/Misc: Replace NULL with nullptrShauren
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-03-03Core/Misc: fix buildMitchesD
2016-03-03Core/Debugging: Make abort() less bad on windows by forcing crash log generationShauren
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-11-13Core/DBLayer: Improve error message from ↵Shauren
0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11
2015-09-21Partially revert "Core/Build: Added missing abort() calls on error handlers"Shauren
This reverts commit 8ea17647e6bced9d4d027c94ecdc63369cb4c6df.
2015-09-21Core/Build: Added missing abort() calls on error handlersStormBytePP
2015-09-21Fix a typoStormBytePP
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-21Core/Build: Merge common library and move database out of sharedStormBytePP