Debugger: Show string in status bar for li, etc.
This is helpful when stepping through the debugger. Only shows likely UTF-8 or similar formatted text, but often names or error messages are.
This commit is contained in:
parent
fd2aecdbc2
commit
012d47bcbf
4 changed files with 43 additions and 0 deletions
|
@ -1094,6 +1094,10 @@ void CtrlDisAsmView::updateStatusBarText()
|
|||
text[0] = 0;
|
||||
if (line.type == DISTYPE_OPCODE || line.type == DISTYPE_MACRO)
|
||||
{
|
||||
if (line.info.hasRelevantAddress && IsLikelyStringAt(line.info.relevantAddress)) {
|
||||
snprintf(text, sizeof(text), "[%08X] = \"%s\"", line.info.relevantAddress, Memory::GetCharPointer(line.info.relevantAddress));
|
||||
}
|
||||
|
||||
if (line.info.isDataAccess)
|
||||
{
|
||||
if (!Memory::IsValidAddress(line.info.dataAddress))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue