Project

General

Profile

Emulator Issues #11645

Feature Request: Register Debug Logging

Added by nwplayer123 about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I don't know how to describe this, basically I want a thing where I can set a breakpoint or smth, and instead of having to manually read the register value, define a type and be able to print it to the debug log
e.g. I breakpoint the start of a function where r4 is a char* to some string, be able to print that string to the debug log
maybe throw in some other types too, uints and pointers and etc. I'm mostly interested in string printing though since it's slow and tedious and this would save a significant amount of time.

History

#1 Updated by taolas about 2 years ago

Perhaps a context menu option on the register window that says Log on Break. Maybe a pop out menu for different types.

But is it possible to use the memory window to check the address the char is coming from to see the full string?

#2 Updated by nwplayer123 about 2 years ago

taolas wrote:

Perhaps a context menu option on the register window that says Log on Break. Maybe a pop out menu for different types.

But is it possible to use the memory window to check the address the char is coming from to see the full string?

Oh it's definitely possible to check strings in the memory window, it's just tedious and slow. Hit the breakpoint, check string, hit breakpoint, check string, versus just playing the game a bit and seeing what pops up on the log. Easier to gather data if you're trying to reverse engineer a game with a lot of code.

Also available in: Atom PDF