当前位置:网站首页>Summary: golang's ide:vscode usage
Summary: golang's ide:vscode usage
2022-07-28 12:52:00 【Xiao Wei's blog】
One 、 Introduce
Development golang We usually use IDE Software , There are also direct use vim The editor's , I prefer to use IDE, Tried. IDEA,liteIDE,goclipse Have their own dissatisfaction 0 The place of , I didn't expect to finally use VScode, At first, what made me look at was the code jump speed , And then I found out debug It's also convenient , So I decided to use it .
Two 、 Plug in installation
I installed the following plug-ins : In short, that is golang Almost everything related is installed

3、 ... and 、 Code debugging
1、 Introduce
namely debug, We often need debug Which step of the code is wrong ,debug It's the best way ,vscode Also support for golang code debug Of .
2、 Operate the buttons
Go straight into main The file where the function is located , Then just press F5, That is to debug Mode started , At that time, we had to add breakpoints , Breakpoints and idea equally , Just click before the code line number .
F15: Start and start debug, in addition , Continue to press F5, Then jump to the next breakpoint
F10: It's single step debugging
F11: Enter function
3、 Debugging software installation
Software :dlv
F5 When , You will be prompted to install dlv.
The overall effect is as follows :

边栏推荐
- FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys) will be depreca
- 输入字符串,内有数字和非字符数组,例如A123x456将其中连续的数字作为一个整数,依次存放到一个数组中,如123放到a[0],456放到a[1],并输出a这些数
- Siemens docking Leuze BPS_ 304i notes
- Custom paging tag 02 of JSP custom tag
- BA autoboot plug-in of uniapp application boot
- Linear classifier (ccf20200901)
- GMT安装与使用
- Unity加载Glb模型
- 上位机和三菱FN2x通信实例
- 新零售电商O2O模式解析
猜你喜欢
随机推荐
05 pyechars 基本图表(示例代码+效果图)
一台电脑上 多个项目公用一个 公私钥对拉取gerrit服务器代码
Pits encountered in MSP430 development (to be continued)
Machine learning practice - integrated learning-23
mysql limit 分页优化
Quick read in
DART 三维辐射传输模型申请及下载
01 pyechars 特性、版本、安装介绍
Leetcode 1518. wine change
AI制药的数据之困,分子建模能解吗?
机器学习基础-支持向量机 SVM-17
Can molecular modeling solve the data dilemma of AI pharmacy?
Zurich Federal Institute of technology | reference based image super resolution with deformable attention transformer (eccv2022))
SuperMap game engine license module division
合并表格行---三层for循环遍历数据
Merge sort
图书馆自动预约脚本
云原生—运行时环境
Baidu map API adds information window circularly. The window only opens at the last window position and the window information content is the same solution
Holes in [apue] files








