Eric Arnold wrote: > I've added a v:variable which is a dict type. When I set it in a > script, and echo it, everything is fine: > > let v:timertable[ 'TstTimer' ] = 1000 > echo string( v:timertable ) > > However, it is trashed (garbage in the hash table) by the next time I > access it later in the Vim C code. > > Can anybody give a pointer to how to find what trashes the dict/hash > without single stepping through thousands of lines? Using gdb's > 'watch' is so slow it's unusuable.
This is a bug. You should not be able to use v:timertable at all, "v:" variables are reserved. -- Save the plankton - eat a whale. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///