Code

History

Commits on master to src/exec/debugger.cpp30
  1. Move some basic offset functions to header files for inlining ease Replace enum_pointer_field functions with custom implementations - GC now has custom implementation - other implementations use template<> version Fix misuse of shared_ptr<type_descriptor_t> in various built-in types Observed 5 - 8 % improvement in GC for compiler scenario.arr committed 9 years agocd2748b
  2. Remove 'using namespace' statements from all but the execution table file.arr committed 9 years ago2519a93
  3. Alter debugger API to accept vector value not reference.arr committed 9 years agocc8f2b6
  4. Add debugger option (vm-dbg) for help during VM bug investigationsarr committed 9 years ago220aaf2
  5. Bug in debugger when printing a vm_alloc Bug in vm_string - get_rune/set_rune Update all instantiations of vm_string to use {} - fixed issuesarr committed 9 years agobd1f493
  6. Fix source line assumption in sbl reader. - Statements can cross source line boundariesarr committed 9 years ago5ef656f
  7. Add support for traps in VM Add instruction trap to enable single step scenario in debugger Remote get_state() function from threadarr committed 9 years agocb408a1
  8. Update registers view in debugger.arr committed 9 years agoeb570d9
  9. Update registers struct to include next_pc member. This allows the pc member to always point at the current PC instead of having been incremented to the 'next' PC.arr committed 9 years agoa46f30c
  10. Add support to debugger to have the last successful command be the default command.arr committed 9 years agoad4a6c3
  11. Update UX for some scenarios. - PCs should be prefixed with an '@' - Function symbol printing in debugger - Disassemble command can now specify absolute PC to disassemble - Exception printing - md5sum program - prints new linesarr committed 9 years ago55b7ecc
  12. Add debug options support Add breakpoint command debug option - command to execute after a breakpoint is hitarr committed 9 years agoea995f2
  13. Add support for inleaving source information into disassembly view in debugger.arr committed 9 years agoeb8b090
  14. Update stack walk in debugger to show source file name. Format function name to include full type signature.arr committed 9 years ago2b710fc
  15. Added vm_id to vm_module_t that is used by the VM to uniquely identify a module Updated tool dispatcher to pass on the loaded_vm_module_t type as the module_vm_load event argument Debugger now uses symbol data to resolve stack IPsarr committed 9 years ago72f24ec
  16. Change nullptr return value in debugger to an exception. Pull out the split() function from the debugger and push it into utils.h.arr committed 9 years ago2e5c41c
  17. Set breakpoint now defaults to using the current module if module is not defined.arr committed 10 years ago551c500
  18. Change debugger options to enumeration. Alter how the debugger displays the registers. Adding a breakpoint that is already set is a no-op and simply returns the current cookie value. Fix bug in print for the Sys module - don't ignore format modifiers.arr committed 10 years agodb76c0c
  19. Debugger disassemble defaults to 4 instructions. Disasembler in debugger now replaces breakpoint opcode with real if it was replaced. Fix bug when setting breakpoint at same location twice.arr committed 10 years agof29cf0d
  20. Change assert to exception if a dis module contains an invalid magic number. Broken threads now terminate the VM using the default scheduler. Tools can not get a callback for broken threads.arr committed 10 years ago096b0c7
  21. Reduce assembly footprint of execute function to allow for specialized tool dispatcher logic Fix locking strategy in scheduler - Release lock prior to notify Change default build optimization to 'for speed' rather than 'full' Add current thread quanta to register and specify size for thread state enum No longer free tool dispatcher after all tools have detachedarr committed 10 years ago8142339
  22. Update debugger to use exceptions for internal command processing.arr committed 10 years ago8549d34
  23. Additional debugger command (term) Add command line arguments for enabling debugger from execarr committed 10 years ago660681b
  24. Debugger supports breakpoints (set/clear/list) Clean up usage of final and override on various classes Distinguish tool events for vm loading module and thread loading modulearr committed 10 years agoe2f8e25
  25. Expose the loaded path of a module from the VM. Display path for the loaded module in the debugger.arr committed 10 years ago4219472
  26. Addition of examine memory command to debugger. Re-design debugger command processing.arr committed 10 years agof277167
  27. Added basic operations for debugger - disassembly - thread switch - walk stack on thread X/all - print threads, modules, registersarr committed 10 years agoe9ca286
  28. Move instruction level printing to asm libraryarr committed 10 years agofe11a37
  29. Create disvm-asm static lib (Used for working with bytecode) - Convert functions for opcode <--> string Factor out common GYP settingsarr committed 10 years ago8f29618
  30. Basic debugger implementation - No way to enable it without altering exec main.cpp.arr committed 10 years agof2c6ef3