Commit graph

19 commits

Author SHA1 Message Date
Henrik Rydgård
c906cee1ed Provide a parent HWND to assert messageboxes (assert no longer appears below..) 2025-03-29 11:16:33 +01:00
Henrik Rydgård
5fcf0c6276 Swap the Cancel and No functions in the assert dialog. Plus a function rename and some safety checks. 2025-03-25 00:01:14 +01:00
Henrik Rydgård
24d859f773 Add new utility function to break into the debugger without a popup 2025-03-19 16:13:30 +01:00
Henrik Rydgård
d11f8609ea Add an easy way to break into the imdebugger from assert messageboxs ("No") 2025-03-19 14:22:02 +01:00
Henrik Rydgård
3ffff831c7 Refactor LogManager (remove GetInstance()). In headless, add option to log to OutputDebugString on Windows. 2024-12-03 21:39:42 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
178147b20a Make asserts work better in headless when running tests on Windows 2024-04-16 22:54:48 +02:00
Henrik Rydgård
949f746f96 Add time-elapsed to assert messages
Just a crude thing to easily see if a crash is from just starting a game
or later.
2023-09-23 08:53:59 +02:00
Henrik Rydgård
1cf4e83824 Show thread name in assert messagebox caption on Windows. Minor cleanup 2023-03-15 22:26:58 +01:00
Henrik Rydgård
a3252078e6 Reorder the information in assert lines by importance, to avoid the juicy stuff getting cut out 2023-01-02 16:43:01 +01:00
Henrik Rydgård
2ab7222d5b Clear the extra assert info on game exit 2022-12-17 22:17:29 +01:00
Henrik Rydgård
800bc91a8a Supply some extra info in asserts (currently game ID and name).
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
e266eb78ad Common: Avoid assert hang in CI. 2022-01-29 18:39:21 -08:00
Unknown W. Brackets
6c013cec96 Common: Print assert failures to stderr. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
f12aa92a00 Common: Cleanup some logging warnings. 2021-04-30 23:31:54 -07:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +02:00
Renamed from Common/MsgHandler.cpp (Browse further)