CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/Windows/debugger.txt
Views: 1401
1
#################
2
Disassembly view
3
#################
4
5
You can change the cursor with the up/down arrow keys, the mouse wheel or by clicking on a line. You can scroll by a whole page with page up/down. Clicking on the cursor will toggle a breakpoint at that position. Addresses in opcodes are replaced by a label if there is one for the respective address.
6
The PC is highlighted by a square left of the opcode. The background is also slighly brighter.
7
8
Key bindings:
9
-TAB toggles between display symbols and displaying addresses + hexadecimal representation of each instruction
10
-F9 sets a temporary breakpoint at the cursor address and starts the cpu (Run to cursor)
11
-F10 Step Over, will execute until the next line, or the next but one in case of a branch. For absolute branches, it will execute until the branch target.
12
-F11 Step Into, will execute the next opcode and then stop
13
-Space will also toggle the breakpoint at the cursor
14
-the right arrow key follows a branch
15
-the left arrow key undoes one level of following. If there is nothing to un-follow, it will jump to the PC
16
-Ctrl+S will start a text search. It will search through the displayed text until it matches the entered text or reaches the end of the user memory. Escape can be used to cancel the search. Any gaps on screen are represented by a single space, ie "addiu a0". The search starts on the first instruction after the cursor
17
-Ctrl+C will continue the previous search
18
-Ctrl+X will disassemble to a file you specify. First you enter the size (in bytes, hexadecimal) of the code to be disassembled, then you select a file name. It will start at the cursor
19
20
All breakpoints are listed in the table at the bottom of the disassembly view. Doube clicking an execute breakpoint will move the disassembly view to that position, double clicking a memory breakpoint will open the memory viewer and move it to the start of the breakpoint range. Pressing delete will remove the selected breakpoint.
21
If there is a symbol defined for the position of an execute breakpoint, that will also be displayed.
22
23
24
###########
25
Memory View
26
###########
27
28
The lines are always 16 byte aligned. You can click anywhere on screen or use the arrow keys to move the cursor. You can also use the mouse wheel or the page up/down keys for scrolling.
29
The active column will have a blue cursor, the inactive one a grey one.
30
In the hex column, the currently selected nibble is underlined. You can type A-F and 0-9 to change the data. Using the left and right arrow keys in the hex column will move the cursor one nibble at a time.
31
In the ascii column, you can type all letters to change the data.
32
Double clicking on an entry in the list will move the cursor to that position. Hitting enter in the goto edit box will do the same.
33