summary refs log tree commit diff stats
path: root/tools/nim-gdb.py
Commit message (Collapse)AuthorAgeFilesLines
* nim-gdb.py fixes mostly for nimsuggest debugging (#16479)Saem Ghani2020-12-301-57/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These fixes were primarily developed to assist in nimsuggest debugging. There is nothing intentionally specific done for nimsuggest, but beyond the automated tests all practical testing was done with nimsuggest. Undoubltedly these will also assist in other debugging scenarios. The current nim-dbg.py script was broken in a few ways: - failed to provide detailed value information for common types (see below) - was not passing existing tests - could not produce type summary information Broken types now working somewhat better: - sequences with ref types like strings - sequences with value types like ints - arrays with ref types like strings - tables with int or string keys Other improvements: - slightly more test coverage Future considerations: - this, data used by it, should be something the compiler can generates - account for different memory layouts ([arc/orc differ](https://github.com/nim-lang/Nim/pull/16479#issuecomment-751469536)) Attempts at improving nim-gdb.py More tests, few fixes for seq and type printing Tables debugging fixed added further tests Fixed type printing
* add $nimeq for gdb (#12909)Arne Döring2019-12-171-0/+29
|
* Refactor json macro (#12391)Arne Döring2019-10-171-4/+4
| | | | | | | | * closes #12316 * make tjsonmacro work at js target * closes #12289 * closes #11988 * also fixed gdb related stuff
* rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207)Arne Döring2019-09-181-4/+4
|
* $ command in gdb now works (#10956)Arne Döring2019-04-151-10/+37
|
* add NimFrameFilter to nim-gdb.py (#10873)Arne Döring2019-03-261-0/+16
|
* add gdb commands: koch, nim, nimble (#10741)Arne Döring2019-02-261-0/+54
| | | | | * add gdb commands: koch, nim, nimble * make commands path independent
* precise printer injectionArne Döring2019-01-211-5/+14
|
* gdb pretty printer survive reloadArne Döring2019-01-211-8/+8
|
* fixes #9276 (#9317)Arne Döring2018-10-241-0/+19
|
* Gdb pretty printers (#8263)Arne Döring2018-07-161-0/+513