Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
<pre> |
<pre> |
||
− | alias sc=" gvim -- |
+ | alias sc=" gvim --severname DBX --remote-silent $vfile +$vlineno" |
− | when stop { gvim -- |
+ | when stop { gvim --severname DBX --remote-silent $vfile +$vlineno ;} |
</pre> |
</pre> |
||
Line 32: | Line 32: | ||
<pre> |
<pre> |
||
# Functions |
# Functions |
||
+ | |||
# Write Current, this will write a line to ~/.dbx.vim |
# Write Current, this will write a line to ~/.dbx.vim |
||
# which will cause vim to open the current file at the current location |
# which will cause vim to open the current file at the current location |
||
Line 37: | Line 38: | ||
echo :e +$vlineno $vfile > $HOME/.dbx.vim |
echo :e +$vlineno $vfile > $HOME/.dbx.vim |
||
} |
} |
||
+ | |||
# Write Variables, dumps the values of all variables local to current |
# Write Variables, dumps the values of all variables local to current |
||
# procedure into ~/.dbx.vars |
# procedure into ~/.dbx.vars |
||
Line 53: | Line 55: | ||
done |
done |
||
} |
} |
||
+ | |||
# Vim Current, same thing, but will spawn vim |
# Vim Current, same thing, but will spawn vim |
||
function vc { |
function vc { |
||
vim +$vlineno $vfile |
vim +$vlineno $vfile |
||
} |
} |
||
+ | |||
# Whens |
# Whens |
||
when stop { wc; } |
when stop { wc; } |
||
+ | |||
# Aliases |
# Aliases |
||
+ | |||
# Whens |
# Whens |
||
when stop { wc; } |
when stop { wc; } |
||
+ | |||
# Aliases |
# Aliases |
||
alias sdb="source ~/.dbxrc" |
alias sdb="source ~/.dbxrc" |
||
Line 92: | Line 99: | ||
# Clear out any displayed variables |
# Clear out any displayed variables |
||
undisplay 0 |
undisplay 0 |
||
+ | |||
# Set breakpoint |
# Set breakpoint |
||
stop at dbmulti.c:7043 |
stop at dbmulti.c:7043 |
||
stop at riintfn.c:4128 |
stop at riintfn.c:4128 |
||
+ | |||
# Other commands |
# Other commands |
||
</pre> |
</pre> |