diff options
| author | skidau <skidau@gmail.com> | 2010-08-08 06:00:22 +0000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2010-08-08 06:00:22 +0000 |
| commit | 208ecd698ef073b772750f88e3c11f7badaec215 (patch) | |
| tree | 739505d3b4dd2bc6848d0f08c30b0e0865da75c0 /Source/Core/DebuggerUICommon/Src/CodeView.cpp | |
| parent | 7b8863dc9c50c2c0d45070a1519bacc287d27113 (diff) | |
Debugger enhancements:
* Added working Step Over function.
* Added hard-coded hotkeys for step into (F11), step over (F10) and toggle breakpoint (F9). The hotkeys are only active when the debugger is enabled. They function as before when the debugger is disabled.
* Added Debug menu item.
* Removed obsolete NotifyBreakpoint function from JIT and JITIL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6069 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerUICommon/Src/CodeView.cpp')
| -rw-r--r-- | Source/Core/DebuggerUICommon/Src/CodeView.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/Core/DebuggerUICommon/Src/CodeView.cpp b/Source/Core/DebuggerUICommon/Src/CodeView.cpp index 9ec4bf5d0c..79056245ff 100644 --- a/Source/Core/DebuggerUICommon/Src/CodeView.cpp +++ b/Source/Core/DebuggerUICommon/Src/CodeView.cpp @@ -123,15 +123,21 @@ void CCodeView::OnMouseDown(wxMouseEvent& event) } else { - debugger->toggleBreakpoint(YToAddress(y)); - redraw(); - Host_UpdateBreakPointView(); + ToggleBreakpoint(YToAddress(y)); } event.Skip(true); } +void CCodeView::ToggleBreakpoint(u32 address) +{ + debugger->toggleBreakpoint(address); + redraw(); + Host_UpdateBreakPointView(); +} + + void CCodeView::OnMouseMove(wxMouseEvent& event) { wxRect rc = GetClientRect(); |
