Carmel Zuk wrote: > Hi all, > I'd like to debug vim with cgdb to understand how it works. > > My problem is this: > when I run > cgdb vim > I get the output in the cgdb console as binary.. I can't debug mouse actions > or editing. > > Is there a way to point vim to another terminal instance other than the cgdb? > > or how would you suggest to go about this one?
I don't know cgdb, but with gdb you can use the -tty argument. You would start a terminal and make it not do anything, e.g. with "while true; do sleep 3600; done". Then get it's device and pass it to gdb with -tty. -- Don't read everything you believe. /// 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]. For more options, visit https://groups.google.com/d/optout.
