dsfsdfsdfsdf6455 2016-07-26 19:17
浏览 84

Delve不适用于LiteIDE

I am new to go language and for development purpose using LITEIDE with delve as debugger to debug my go code .

I have observed that sometimes I can debug well in LITEIDE with breakpoints being hit and I can use it properly . But sometimes it just doesnt work at all .

When it DOES NOT WORK i see messages like these in console

(dlv) Process restarted with PID 29878
(dlv) (dlv) (dlv) Breakpoint bk145085445 set at 0x206d for main.main() ./httpServer.go:15
(dlv) Breakpoint bk83028073 set at 0xd3546 for usagereports/requestHandlers.KeyHandler() ./requestHandlers/customerKeyHandler.go:39
(dlv) Breakpoint bk83028064 set at 0xd2e69 for usagereports/requestHandlers.KeyHandler() ./requestHandlers/customerKeyHandler.go:30
(dlv) Breakpoint bk83028049 set at 0xd2bc8 for usagereports/requestHandlers.KeyHandler() ./requestHandlers/customerKeyHandler.go:21
(dlv) Breakpoint 5 set at 0x2058 for main.main() ./httpServer.go:12
(dlv)

Now If I type next (to go to next line) or continue (for it to stop at next breakpoint) nothing happens . But the program has not hanged and I can see it getting executed (through log messages or see desired output/errors on screen) which means that LITEIDE is not working properly.

Can anyone guide here who uses LITEIDE with Delve and faced this problem

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 安装svn网络有问题怎么办
    • ¥15 Python爬取指定微博话题下的内容,保存为txt
    • ¥15 vue2登录调用后端接口如何实现
    • ¥65 永磁型步进电机PID算法
    • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
    • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
    • ¥15 如何处理复杂数据表格的除法运算
    • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
    • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
    • ¥15 latex怎么处理论文引理引用参考文献