1
0
Fork 0
Commit Graph

11 Commits

Author SHA1 Message Date
aaronp64 520f159810 Prevent ObjectDB snapshots from being overwritten
Updated ObjectDBProfilerPanel::receive_snapshot to check if file exists, and make filename unique before writing, to avoid overwriting when multiple snapshots are made within same second.
2025-12-05 11:44:22 -05:00
Rémi Verschelde b3cec96b24
Merge pull request #113366 from aaronp64/free_gamestate_snapshots
Fix `GameStateSnapshot`s not being freed
2025-12-05 09:38:13 +01:00
aaronp64 ed6181c943 Fix GameStateSnapshots not being freed
Updated GameStateSnapshot to inherit from RefCounted, to be automatically deleted when reference count reaches zero, and removed GameStateSnapshotRef wrapper class.
2025-12-04 14:42:40 -05:00
Hugo Locurcio db920eb7f0
Use Unicode arrow symbols throughout the editor
This does not apply to text printed to the Output panel, as the fixed-width
font may not have the glyph in its character set (or if it does, the arrow
character may be hard to read).
2025-12-02 01:36:35 +01:00
A Thousand Ships ac05ce5226
Fix use of outdated macros in ObjectDBProfiler
These were renamed but were missed in this PR and fails with disable
deprecated.
2025-10-13 17:25:45 +02:00
Thaddeus Crews e33f89fe27
Merge pull request #111323 from HolonProduction/rm-script
Remove `Object::script`
2025-10-10 10:26:09 -05:00
HolonProduction 2adecffbc3 Remove `Object::script` 2025-10-06 16:27:53 +02:00
chocola-mint ead282ff13 Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`. 2025-10-05 17:49:23 +09:00
Mikael Hermansson 3528e83ff3 Various fixes and style nitpicks 2025-07-09 14:27:48 +02:00
Rémi Verschelde 0adf0898eb Various style nitpicks 2025-07-08 16:39:24 +02:00
Aleksander Litynski 78f1543e35 Add an ObjectDB Profiling Tool
A new tab is added to the debugger that can help profile a game's memory usage.

Specifically, this lets you save a snapshot of all the objects in a running
game's ObjectDB to disk. It then lets you view the snapshot and diff two
snapshots against each other. This is meant to work similarly to Chrome's
heap snapshot tool or Unity's memory profiler.
2025-07-08 16:39:24 +02:00