; AUTHOR: GPL(C) Mohsin Ahmed, http://www.cs.albany.edu/~mosh File: ~/text/keymap.txt Help : VC->help->keyboard, MSDN, ~/text/c-ref.txt ~/msdev/ $DOC/debug/ Settings: VC->Tools->Customize->keyboard; *=User mapped Saved in: HKCU\Software\Microsoft\DevStudio\6.0\Keyboard, ~/msdev/*.reg ----------------+--------------------------- F7 Build C-F7 Compile F5 Start C-F5 Continue Run. C-S-F5 Restart. S-F5 *Stop Debugging. ----------------+--------------------------- F8 *QuickWatch, VC: S-F9. F11 Step In function call. F10 Step On function call. F12 *Step Out function. F6 *Step Until cursor (F9,F5,F9); gdb='b,go,clear b'. F2 *Jump to cursor. F9 Break point on/off, gdb=bp,dbx=stop,ntsd=bp. C-F9 Break Disable A-F9 Break Menu -- *Show Current Stmt (click on top of stack). gdb: C-l. ----------------+--------------------------- A-0 Workspace A-1 Infoview A-2 Output A-3 debug watch A-4 debug variables A-5 debug registers A-6 debug memory A-7 debug callstack A-8 debug dis-assembly ----------------+--------------------------- C-g Goto Line Menu A-F2 Bookmarks ----------------+--------------------------- User Mapped keys in MsDev see VC->Help->keyboard set VC->Tools->Customize->Keyboard KP-,KP+: Kill/Next window KP5 : Match paren, VC: C-?[. C-p : Complete Word. VC: C-Space. Pause : Vim $(CurFile) +/(CurrentWord) [See vc6tools3.reg] A-/ : SearchIncremental, VC: C-?/. C-/ : FindInFiles. C-up/dn: Next/Prev WBNextFunction/WBPrevFunction. FindTool: M-1 M-1 C-c C-d C-v CR Double click - select C-c Copy selection, C-d Avtivate find-tool window C-v Paste word in find-tool CR Search again. ------------------------------------------------------------ ----+-----------+----------+--------------------------- Gud Gdb: See ~/emacs/mosh-gdb.el, info gdb, gud ----+-----------+----------+--------------------------- F5 r run Go. F9 b break d to del bp, cl clear all bp. b *0x12 Break when pc=address. comm bpN Commands to run at at bp N. b N if Cond Break at bpN only if Cond is satisfied. w Watch Hardware bp. disp e Display e at every stop. F11 s step (dbx=step up) F10 n next F12 f finish F5 c continue l list src d disassembl F8 p print printf show pt printtype F1 h help i info set var $v=expr Evaluate expr and save it in v. bt backtrace of stack f frame, i f .. details of frame. up,down up (crash is down). define newcommand ... end k Kill program. q Quit ----+-----------+----------+--------------------------- Workshop dbx (see ~/text/dbx-gdb.txt ~/.dbxrc) commands, Build the program in the current directory = F3 Move to the previous build error = Shift+F4 Move to the next build error = F4 Continue execution from the current statement = F6 Restart program execution from the beginning = Shift+F6 Interrupt program execution = Control+Break Single-step, stepping into function calls = F8 Single-step, stepping over function calls = F7 Single-step, stepping out of a function call = Shift+F8 Move up the call stack = F9 Move down the call stack = Shift+F9 ------------------------------------------------------------ Ediff: n/p : next/prev diff, a/b : Copy a to b / b to a. A/B : Readonly A/B. ~ : swap buffers A and B, ra,rb: Undo a/b wa,wb: Write A/B ga,gb: Get and Show diff at (cursor) point in A/B. !/* : Update,Refine. | : Horizontal or vertical Windows. m : Wide Windows. <,> : Scroll left,right. ------------------------------------------------------------ Emacs: C-M-c end rec edit. C-] abort rec edit. M-x top level. M-, tags-query-replace Resume ------------------------------------------------------------