Henrik Rydgård
0e3c1df9b3
Add a way to access the ImDebugger from the DevMenu
2024-11-21 15:48:18 +01:00
Henrik Rydgård
30207aa25c
Stackwalk safety fix. Stackwalk logic fix (although probably not very important)
2024-11-15 15:59:08 +01:00
Henrik Rydgård
0776ee01a8
ImDebugger: Add initial HLE module explorer window`
2024-11-15 14:49:19 +01:00
Henrik Rydgård
8081ebc265
Crashfixes
2024-11-07 19:56:32 +01:00
Unknown W. Brackets
a37f0c256d
Debugger: Correct stack walk at start of func.
2023-04-09 16:05:47 -07:00
Henrik Rydgård
ff907bd523
Fix crash in MIPSStackWalk
2023-04-05 09:48:03 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgard
b998131581
Move the symbol map to the heap, deallocate it when no game is running.
2015-10-31 23:01:19 +01:00
Unknown W. Brackets
6aa9b8aa36
Limit stack walk distance a bit.
...
It was spending 0.5s in debug scanning all of memory for an entry (due to
some fp/sp tricks that aren't well detected yet.) Let's just assume a 1MB
func doesn't need to be walked properly.
2014-07-20 21:52:55 -07:00
Unknown W. Brackets
ec94498342
When scanning or relocating, check replacements.
...
Just to make sure we don't wrongly detect the length or unresolve a var
wrong etc.
2014-06-23 08:18:56 -07:00
Unknown W. Brackets
648c0f6685
Avoid an infinite loop on bad stack walk.
...
If the address is wrong, it'll re-trigger debug mode, which will re-walk
the stack, which will continue ad infinitum.
2014-01-18 09:58:48 -08:00
Unknown W. Brackets
109ad17ac6
Use a typesafe struct for opcodes.
...
Also, correctly read delayslots using Read_Instruction on ARM.
2013-08-24 15:36:24 -07:00
Unknown W. Brackets
c8716d9a02
Fix a few minor typos + small reporting change.
2013-08-12 23:02:39 -07:00
Unknown W. Brackets
7ac67a8931
Add a function to walk the stack, not yet perfect.
...
Could use improvements, but with a decent symbol table does very well so
far in the games I tested it in.
2013-08-12 01:54:14 -07:00