[debugger] Printing improvements
Fix an assertion failure when printing stack frames but no stack frames are available. The code now prints out "no stack frames". Cleans up printing of location information when a thead stops. Adds function names to locations (appears in thread stops, frames, etc.). Separates out the arrow character I use for marking the current code line and use it for the other places we show the current row. This is not a constant so we can provide a dynamically selected non-Unicode one in the future if necessary. Change-Id: I8d1f5e1dd77d043871db11381f7fe42454d88d6e
Showing
- bin/zxdb/client/symbols/location.cc 4 additions, 2 deletionsbin/zxdb/client/symbols/location.cc
- bin/zxdb/client/symbols/location.h 4 additions, 2 deletionsbin/zxdb/client/symbols/location.h
- bin/zxdb/client/symbols/module_symbols_impl.cc 3 additions, 2 deletionsbin/zxdb/client/symbols/module_symbols_impl.cc
- bin/zxdb/console/command_utils.cc 12 additions, 4 deletionsbin/zxdb/console/command_utils.cc
- bin/zxdb/console/command_utils.h 1 addition, 1 deletionbin/zxdb/console/command_utils.h
- bin/zxdb/console/console_context.cc 25 additions, 20 deletionsbin/zxdb/console/console_context.cc
- bin/zxdb/console/console_context.h 3 additions, 1 deletionbin/zxdb/console/console_context.h
- bin/zxdb/console/format_file_context.cc 2 additions, 4 deletionsbin/zxdb/console/format_file_context.cc
- bin/zxdb/console/nouns.cc 17 additions, 10 deletionsbin/zxdb/console/nouns.cc
- bin/zxdb/console/string_util.cc 10 additions, 0 deletionsbin/zxdb/console/string_util.cc
- bin/zxdb/console/string_util.h 8 additions, 0 deletionsbin/zxdb/console/string_util.h
- bin/zxdb/console/verbs_breakpoint.cc 4 additions, 0 deletionsbin/zxdb/console/verbs_breakpoint.cc
- bin/zxdb/console/verbs_breakpoint_unittest.cc 2 additions, 2 deletionsbin/zxdb/console/verbs_breakpoint_unittest.cc
- bin/zxdb/console/verbs_memory.cc 12 additions, 0 deletionsbin/zxdb/console/verbs_memory.cc
- bin/zxdb/console/verbs_symbol.cc 1 addition, 1 deletionbin/zxdb/console/verbs_symbol.cc
Loading
Please register or sign in to comment