mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Qt: Fix debugger step shortcuts
This commit is contained in:
parent
554ba9d6a6
commit
399f20ae54
@ -268,8 +268,8 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
||||
"\nKey N: Show next instruction the thread will execute after marked instruction, does nothing if target is not predictable."
|
||||
"\nKey M: Show the Memory Viewer with initial address pointing to the marked instruction."
|
||||
"\nKey I: Show RSX method detail."
|
||||
"\nKey F10: Perform single-stepping on instructions."
|
||||
"\nKey F11: Perform step-over on instructions. (skip function calls)"
|
||||
"\nKey F10: Perform step-over on instructions. (skip function calls)"
|
||||
"\nKey F11: Perform single-stepping on instructions."
|
||||
"\nKey F1: Show this help dialog."
|
||||
"\nKey Up: Scroll one instruction upwards. (address is decremented)"
|
||||
"\nKey Down: Scroll one instruction downwards. (address is incremented)"
|
||||
@ -892,11 +892,11 @@ void debugger_frame::ShowPC()
|
||||
m_debugger_list->ShowAddress(pc);
|
||||
}
|
||||
|
||||
void debugger_frame::DoStep(bool stepOver)
|
||||
void debugger_frame::DoStep(bool step_over)
|
||||
{
|
||||
if (const auto cpu = get_cpu())
|
||||
{
|
||||
bool should_step_over = stepOver && cpu->id_type() == 1;
|
||||
bool should_step_over = step_over && cpu->id_type() == 1;
|
||||
|
||||
if (auto _state = +cpu->state; _state & s_pause_flags && _state & cpu_flag::wait && !(_state & cpu_flag::dbg_step))
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ Q_SIGNALS:
|
||||
void CallStackUpdateRequested(std::vector<std::pair<u32, u32>> call_stack);
|
||||
|
||||
public Q_SLOTS:
|
||||
void DoStep(bool stepOver = false);
|
||||
void DoStep(bool step_over = false);
|
||||
|
||||
private Q_SLOTS:
|
||||
void OnSelectUnit();
|
||||
|
Loading…
Reference in New Issue
Block a user