I wrote:
> Patch 8.2.0056
> Problem: Execution stack is incomplete and inefficient.
> Solution: Introduce a proper execution stack and use it instead of
> sourcing_name/sourcing_lnum. Create a string only when used.
> Files: src/structs.h, src/globals.h, src/autocmd.c, src/buffer.c
> src/debugger.c, src/ex_docmd.c, src/ex_eval.c, src/highlight.c,
> src/main.c, src/map.c, src/message.c, src/proto/scriptfile.pro,
> src/scriptfile.c, src/option.c, src/profiler.c, src/spellfile.c,
> src/term.c, src/testing.c, src/usercmd.c, src/userfunc.c,
> src/kword_test.c, src/testdir/test_debugger.vim
This drastically changes how Vim keeps track of what is executing.
I fixed all that tests could find, but there might be other places that
change unexpectedly. Let me know if you spot something.
Later I'll make some intentional changes to show more of the execution
stack. E.g. it should now be possible to see a sequence of a function
sourcing a file that calls a function, etc.
--
ARTHUR: What?
BLACK KNIGHT: None shall pass.
ARTHUR: I have no quarrel with you, good Sir knight, but I must cross
this bridge.
BLACK KNIGHT: Then you shall die.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201912292316.xBTNGo8e010375%40masaka.moolenaar.net.