1 /* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Copyright 2013-2015, Rene Gollent, rene@gollent.com. 4 * Distributed under the terms of the MIT License. 5 */ 6 #ifndef MESSAGE_CODES_H 7 #define MESSAGE_CODES_H 8 9 10 enum { 11 MSG_THREAD_RUN = 'run_', 12 MSG_THREAD_SET_ADDRESS = 'sead', 13 MSG_THREAD_STOP = 'stop', 14 MSG_THREAD_STEP_OVER = 'stov', 15 MSG_THREAD_STEP_INTO = 'stin', 16 MSG_THREAD_STEP_OUT = 'stou', 17 MSG_SET_BREAKPOINT = 'sbrk', 18 MSG_CLEAR_BREAKPOINT = 'cbrk', 19 MSG_ENABLE_BREAKPOINT = 'ebrk', 20 MSG_DISABLE_BREAKPOINT = 'dbrk', 21 MSG_SET_BREAKPOINT_CONDITION = 'sbpc', 22 MSG_CLEAR_BREAKPOINT_CONDITION = 'cbpc', 23 MSG_SET_WATCHPOINT = 'swpt', 24 MSG_CLEAR_WATCHPOINT = 'cwpt', 25 MSG_ENABLE_WATCHPOINT = 'ewpt', 26 MSG_DISABLE_WATCHPOINT = 'dwpt', 27 MSG_STOP_ON_IMAGE_LOAD = 'tsil', 28 MSG_ADD_STOP_IMAGE_NAME = 'asin', 29 MSG_REMOVE_STOP_IMAGE_NAME = 'rsin', 30 MSG_SET_DEFAULT_SIGNAL_DISPOSITION = 'sdsd', 31 MSG_SET_CUSTOM_SIGNAL_DISPOSITION = 'scsd', 32 MSG_REMOVE_CUSTOM_SIGNAL_DISPOSITION = 'rcsd', 33 34 MSG_TEAM_RENAMED = 'tera', 35 MSG_THREAD_STATE_CHANGED = 'tsch', 36 MSG_THREAD_CPU_STATE_CHANGED = 'tcsc', 37 MSG_THREAD_STACK_TRACE_CHANGED = 'tstc', 38 MSG_STACK_FRAME_VALUE_RETRIEVED = 'sfvr', 39 MSG_IMAGE_DEBUG_INFO_CHANGED = 'idic', 40 MSG_STOP_IMAGE_SETTINGS_CHANGED = 'sisc', 41 MSG_STOP_IMAGE_NAME_ADDED = 'sina', 42 MSG_STOP_IMAGE_NAME_REMOVED = 'sinr', 43 MSG_CONSOLE_OUTPUT_RECEIVED = 'core', 44 MSG_IMAGE_FILE_CHANGED = 'ifch', 45 MSG_FUNCTION_SOURCE_CODE_CHANGED = 'fnsc', 46 MSG_USER_BREAKPOINT_CHANGED = 'ubrc', 47 MSG_WATCHPOINT_CHANGED = 'wapc', 48 MSG_MEMORY_DATA_CHANGED = 'mdac', 49 MSG_DEBUGGER_EVENT = 'dbge', 50 MSG_LOAD_SETTINGS = 'ldst', 51 52 MSG_SETTINGS_MENU_IMPL_ITEM_SELECTED = 'smii', 53 MSG_SETTINGS_MENU_IMPL_OPTION_ITEM_SELECTED = 'smio', 54 55 MSG_TEXTVIEW_AUTOSCROLL = 'tvas', 56 57 MSG_VARIABLES_VIEW_CONTEXT_MENU_DONE = 'ctxd', 58 MSG_VARIABLES_VIEW_NODE_SETTINGS_CHANGED = 'vvns', 59 60 MSG_VALUE_NODE_CHANGED = 'vnch', 61 MSG_VALUE_NODE_CHILDREN_CREATED = 'vncc', 62 MSG_VALUE_NODE_CHILDREN_DELETED = 'vncd', 63 MSG_VALUE_NODE_VALUE_CHANGED = 'vnvc', 64 65 MSG_TEAM_DEBUGGER_QUIT = 'dbqt', 66 MSG_TEAM_RESTART_REQUESTED = 'trrq', 67 MSG_SHOW_TEAMS_WINDOW = 'stew', 68 MSG_TEAMS_WINDOW_CLOSED = 'tewc', 69 MSG_SHOW_TEAM_SETTINGS_WINDOW = 'stsw', 70 MSG_TEAM_SETTINGS_WINDOW_CLOSED = 'tswc', 71 MSG_SHOW_BREAKPOINT_EDIT_WINDOW = 'sbew', 72 MSG_BREAKPOINT_EDIT_WINDOW_CLOSED = 'bewc', 73 MSG_SHOW_SIGNAL_DISPOSITION_EDIT_WINDOW = 'sdew', 74 MSG_SIGNAL_DISPOSITION_EDIT_WINDOW_CLOSED = 'sdec', 75 MSG_SHOW_START_TEAM_WINDOW = 'sstw', 76 MSG_START_TEAM_WINDOW_CLOSED = 'stwc', 77 MSG_START_NEW_TEAM = 'sttt', 78 MSG_DEBUG_THIS_TEAM = 'dbtt', 79 MSG_LOAD_CORE_TEAM = 'lcte', 80 MSG_SHOW_INSPECTOR_WINDOW = 'sirw', 81 MSG_INSPECTOR_WINDOW_CLOSED = 'irwc', 82 MSG_SHOW_EXPRESSION_WINDOW = 'seww', 83 MSG_EXPRESSION_WINDOW_CLOSED = 'ewwc', 84 MSG_SHOW_EXPRESSION_PROMPT_WINDOW = 'sepw', 85 MSG_ADD_NEW_EXPRESSION = 'anex', 86 MSG_EXPRESSION_PROMPT_WINDOW_CLOSED = 'epwc', 87 MSG_SHOW_VARIABLE_EDIT_WINDOW = 'svew', 88 MSG_VARIABLE_EDIT_WINDOW_CLOSED = 'vewc', 89 MSG_INSPECT_ADDRESS = 'isad', 90 MSG_WRITE_TARGET_MEMORY = 'wtam', 91 MSG_EVALUATE_EXPRESSION = 'evex', 92 MSG_EXPRESSION_EVALUATED = 'exev', 93 MSG_SHOW_TYPECAST_NODE_PROMPT = 'stnp', 94 MSG_TYPECAST_TO_ARRAY = 'stta', 95 MSG_TYPECAST_NODE = 'tyno', 96 MSG_SHOW_WATCH_VARIABLE_PROMPT = 'swvp', 97 MSG_SHOW_CONTAINER_RANGE_PROMPT = 'scrp', 98 MSG_SET_CONTAINER_RANGE = 'chcr', 99 MSG_GENERATE_DEBUG_REPORT = 'gdrp', 100 MSG_WRITE_CORE_FILE = 'wrcf', 101 MSG_WRITE_VARIABLE_VALUE = 'wrvv', 102 103 MSG_DEBUG_INFO_NEEDS_USER_INPUT = 'dnui', 104 MSG_USER_INTERFACE_FILE_CHOSEN = 'uifc' 105 }; 106 107 108 #endif // MESSAGE_CODES_H 109