RE: trace/debug scripts
> > I want to run a vim script in "debug mode", i.e. do :sourceYes, my vim5.7 only has a debug option to compile vim to create core dumps
> script.vim and
> > see the verbose output & error messages of the script.
> I think you are getting the verbose and debug capabilities
> confused. By
> setting verbose you see messages relating to when the script
> is sourced,
> not messages about when it is run.
> For messages about what happens when it is run you would need
> the :debug
> capability, which I believe is only in Vim6.0.
> Of course you could hand edit the script.vim so that you do:
> if &verbose > x
> echo "Some text about what is happening"
after a crash.
Well, at least I know now what's possible.
Thanks for the quick answer!