{"id":375,"date":"2022-10-17T09:46:41","date_gmt":"2022-10-17T14:46:41","guid":{"rendered":"https:\/\/www.jmjatlanta.com\/?p=375"},"modified":"2022-10-17T09:46:41","modified_gmt":"2022-10-17T14:46:41","slug":"debugging-in-vi","status":"publish","type":"post","link":"https:\/\/www.jmjatlanta.com\/index.php\/2022\/10\/17\/debugging-in-vi\/","title":{"rendered":"Debugging in VI"},"content":{"rendered":"\n<p>I switched back from Visual Studio Code to vi (I tire of switching from keyboard to mouse). As my memory is not very good, here is my cheat-sheet for using <code>:Termdebug<\/code><\/p>\n\n\n\n<p>Starting a debug session: <code>Termdebug [executable_name]<\/code><\/p>\n\n\n\n<p>Navigating the 3 windows: <code>CTRL + w<\/code> and then <code>j<\/code> or <code>k<\/code>.<\/p>\n\n\n\n<p>Set \/ remove a breakpoint: <code>:Break<\/code> <code>:Clear<\/code><\/p>\n\n\n\n<p>Step \/ Next: <code>s<\/code> or <code>n<\/code><\/p>\n\n\n\n<p>Run \/ Continue: <code>run<\/code> or <code>c<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I switched back from Visual Studio Code to vi (I tire of switching from keyboard to mouse). As my memory is not very good, here is my cheat-sheet for using :Termdebug Starting a debug session: Termdebug [executable_name] Navigating the 3 windows: CTRL + w and then j or k. Set \/ remove a breakpoint: :Break [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":1,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/posts\/375\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmjatlanta.com\/index.php\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}