• 请不要在回答技术问题时复制粘贴 AI 生成的内容
ray1888
V2EX  ›  程序员

想问问写 go 的大佬们工具链的选择

  •  
  •   ray1888 ·
    ray1888 · Feb 11, 2018 · 4049 views
    This topic created in 3023 days ago, the information mentioned may be changed or developed.

    因为入坑 mit 6.824 课程需要用 go,开始入坑 go 语言,各位大佬是用什么工具去 debug 的(包括 debug 自己代码和 debug 单元测试)

    6 replies    2018-02-12 09:08:42 +08:00
    rrfeng
        1
    rrfeng  
       Feb 11, 2018
    先写。
    基础工具链 go 本身已经带齐了,高阶的需要用的时候再说。
    ilyh
        2
    ilyh  
       Feb 11, 2018
    goland
    monnand
        3
    monnand  
       Feb 11, 2018 via Android   ❤️ 1
    写测试和,各种测试,debug 基本就是 print. Debugging sucks, testing rocks

    https://docs.google.com/presentation/d/1tahi9BSW8wR3R2DWTRp4eH0ZmZQFpYvEjAby942EykE/edit?usp=drivesdk
    splay
        4
    splay  
       Feb 11, 2018
    goland+1 调试全靠打 log 呀
    mengzhuo
        6
    mengzhuo  
       Feb 12, 2018 via iPhone
    个人顺序
    log
    testing
    gdb

    话说 gdb 超好用啊,行断点,信号断点,看寄存器,看内存,反编译,样样精通
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1168 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 17:59 · PVG 01:59 · LAX 10:59 · JFK 13:59
    ♥ Do have faith in what you're doing.