1 hour ago · Tech · 0 comments

On Fedora: yum install termdebug in ~/.vimrc let g:termdebug_config = {} let g:termdebug_config['command'] = 'rust-gdb' packadd! termdebug Inside vim: Termdebug target/debug<executable> Use Ctrl-W DownArrow to switch between windows Use :Break to set a breakpoint in the code window Use Ctrl-W UpArrow to go to the gdb window use run to run the program and cont to continue after hitting a break point.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.