Emacs users, how are you debugging your Go apps?

agolangf · · 379 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi there.</p> <p>I wonder what&#39;s the state of debugging Go in Emacs. I meant, if there click-to-set-breakpoint and other features available.</p> <p>I&#39;m fairly new to Emacs (switching from using Vim for years) and I want to know if there are some plugins I should know about when developing in Go.</p> <p>Thanks.</p> <hr/>**评论:**<br/><br/>velco: <pre><p>Tests, prints and <em>thinking</em>!</p></pre>dobegor: <pre><p>Best answer ever :)</p></pre>neoasterisk: <pre><p>I&#39;ve been using this same technique since forever, even when writing other languages with fully featured debuggers.</p></pre>dasacc22: <pre><p>as an emacs user, can confirm</p></pre>driusan: <pre><p>I don&#39;t have any advice, but I&#39;m just curious.. what made you switch to emacs after years as a vi user?</p> <p>I mean, I can see flipping a coin when you start using *nix, but usually after years you&#39;re stuck in your ways..</p></pre>dobegor: <pre><p>the <em>way</em> things work in Emacs and Vim. it&#39;s just different and more suitable to me. but much harder to learn, for sure.</p></pre>shovelpost: <pre><p>After you are done learning Emacs go for Acme.</p></pre>driusan: <pre><p>And acme has no learning curve, you just need to learn how to use a three button mouse!</p></pre>driusan: <pre><p>What particular about the way things work is it that you like?</p> <p>I&#39;m not trying to troll or start a vi/emacs flame war, I just want to know what appeals. I don&#39;t really have much experience with emacs, and I want to know what good ideas I should steal for my own text editor (which is mostly inspired from a combination of vim and acme.)</p></pre>tiberiousr: <pre><p>Unless you&#39;re developing on a headless server over SSH then there&#39;s really no reason not to use something like visual studio code. The tooling is excellent and it makes life so much easier.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

379 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传