Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Document keyboard shortcuts on the debugger #9101

Closed
elad335 opened this issue Oct 20, 2020 · 1 comment · Fixed by #9637
Closed

[Feature Request] Document keyboard shortcuts on the debugger #9101

elad335 opened this issue Oct 20, 2020 · 1 comment · Fixed by #9637

Comments

@elad335
Copy link
Contributor

elad335 commented Oct 20, 2020

The debugger has some features which most people who use dont know exist such as registers editor, instructions editor, SPU and RSX captures. because they cant know it, it only exists in code without any documentation.

@illusion0001
Copy link
Contributor

Thanks to @MSuih for mentioning, good for beginners.
Keys are located here.

if (modifiers & Qt::ControlModifier)
{
switch (event->key())
{
case Qt::Key_G:
{
ShowGotoAddressDialog();
return;
}
}
}
else
{
switch (event->key())
{
case Qt::Key_E:
{
instruction_editor_dialog* dlg = new instruction_editor_dialog(this, pc, cpu, m_disasm.get());
dlg->show();
return;
}
case Qt::Key_F:
{
if (cpu->id_type() != 2)
{
return;
}
static_cast<spu_thread*>(cpu.get())->debugger_float_mode ^= 1; // Switch mode
return;
}
case Qt::Key_R:
{
register_editor_dialog* dlg = new register_editor_dialog(this, cpu, m_disasm.get());
dlg->show();
return;
}
case Qt::Key_S:
{
if (modifiers & Qt::AltModifier)
{
if (cpu->id_type() != 2)
{
return;
}
static_cast<spu_thread*>(cpu.get())->capture_local_storage();
}
return;
}
case Qt::Key_F10:
{
DoStep(true);
return;
}
case Qt::Key_F11:
{
DoStep(false);
return;
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants