| 891 | } |
| 892 | |
| 893 | void FillDebuggerBookmarkListbox(HWND hwnd) |
| 894 | { |
| 895 | SendDlgItemMessage(hwnd, LIST_DEBUGGER_BOOKMARKS, LB_RESETCONTENT, 0, 0); |
| 896 | char buffer[256]; |
| 897 | for (unsigned int i = 0; i < bookmarks.size(); ++i) |
| 898 | { |
| 899 | sprintf(buffer, "%04X %s", bookmarks[i].first, bookmarks[i].second.c_str()); |
| 900 | SendDlgItemMessage(hwnd, LIST_DEBUGGER_BOOKMARKS, LB_ADDSTRING, 0, (LPARAM)buffer); |
| 901 | } |
| 902 | } |
| 903 | |
| 904 | /** |
| 905 | * Shows the code at the bookmark address in the disassembly window |
no test coverage detected