addr2line : Perform address to line on a backtrace, load results on quickfix window..
script karma |
Rating 3/3,
Downloaded by 264 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Javier Puigdevall |
|
script type |
utility |
|
description |
Given a buffer with an execution backtrace, this utility launches addr2line tool to obtain the code lines belonging to the addresses on the backtrace.
If no line selected, the current cursor position line will be used to search for the address ([0x...]) and perform the addr2line.
If there are lines selected, addr2line will be performed for the addresses found on each line.
The result of addr2line will be displayed on a quickfix window.
CONFIGURATION:
let g:Addr2line_symbols = "/myPath/myProject.symbols"
let g:Addr2line_bin = "addr2line"
COMMANDS:
Perform address to line on current cursor position, use default symbols and binary.
:A2l
Perform address to line on current selected lines, use default symbols and binary.
:'<,'>A2l
Perform address to line from current cursor position line and next three lines, use default the symbols and binary paths provided.
:A2l mypath/project.symbols /bin/arm_addr2line 3
Perform address to line on selected lines, use default the symbols and binary paths provided.
:'<,'>A2l mypath/project.symbols /bin/arm_addr2line
|
|
install details |
Minimum version: Vim 7.0+
Recomended version: Vim 8.0+
Binaries: addr2line.
Install vimball:
download addr2line_0.0.1.vba
vim addr2line_0.0.1.vba
:so %
:q |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|