douzhuan1467 2016-09-13 09:47
浏览 473

如何在LiteIDE中使用断点,逐步进入,逐步执行等进行调试?

I would like to know it there is a way to run debug for Go chaincode in LiteIDE (or any other) and be able to use some standard features like breakpoints in the code, Step Into & Step Over commands, watch variables as any step, etc. In some other environments it is possible to attach IDE to some process for debugging with all that features.


Background:

I'm new to Go and IBM Hyperledger and now I'm trying to clarify the question in the Title.

Prerequisites:

  1. I've completed chaincode setup by the Option 1 (using Vagrant) in the tutorial: http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/
  2. I'm able to write, build, deploy and invoke Go chaincode to the peer which is run with --peer-chaincodedev flag.
  3. My OS is Windows 8 and Ubunty 14.04.4 LTS runs in Vagrant
  4. I use LiteIDE for Go chaincode development
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Power query添加列问题
    • ¥50 Kubernetes&Fission&Eleasticsearch
    • ¥15 有没有帮写代码做实验仿真的
    • ¥15 報錯:Person is not mapped,如何解決?
    • ¥30 vmware exsi重置后登不上
    • ¥15 易盾点选的cb参数怎么解啊
    • ¥15 MATLAB运行显示错误,如何解决?
    • ¥15 c++头文件不能识别CDialog
    • ¥15 Excel发现不可读取的内容
    • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题