mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Qt: Fix debugger step shortcuts
This commit is contained in:
parent
554ba9d6a6
commit
399f20ae54
2 changed files with 5 additions and 5 deletions
|
@ -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 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 M: Show the Memory Viewer with initial address pointing to the marked instruction."
|
||||||
"\nKey I: Show RSX method detail."
|
"\nKey I: Show RSX method detail."
|
||||||
"\nKey F10: Perform single-stepping on instructions."
|
"\nKey F10: Perform step-over on instructions. (skip function calls)"
|
||||||
"\nKey F11: Perform step-over on instructions. (skip function calls)"
|
"\nKey F11: Perform single-stepping on instructions."
|
||||||
"\nKey F1: Show this help dialog."
|
"\nKey F1: Show this help dialog."
|
||||||
"\nKey Up: Scroll one instruction upwards. (address is decremented)"
|
"\nKey Up: Scroll one instruction upwards. (address is decremented)"
|
||||||
"\nKey Down: Scroll one instruction downwards. (address is incremented)"
|
"\nKey Down: Scroll one instruction downwards. (address is incremented)"
|
||||||
|
@ -892,11 +892,11 @@ void debugger_frame::ShowPC()
|
||||||
m_debugger_list->ShowAddress(pc);
|
m_debugger_list->ShowAddress(pc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void debugger_frame::DoStep(bool stepOver)
|
void debugger_frame::DoStep(bool step_over)
|
||||||
{
|
{
|
||||||
if (const auto cpu = get_cpu())
|
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))
|
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);
|
void CallStackUpdateRequested(std::vector<std::pair<u32, u32>> call_stack);
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void DoStep(bool stepOver = false);
|
void DoStep(bool step_over = false);
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void OnSelectUnit();
|
void OnSelectUnit();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue