用eclipse调试,点击“Run”“Debug as”没有反应,debug视图没有弹出
一、打开Preferences
点击“Windows”,点击“Preferences”,找到“Run/Debug”下面的“Perspectives”,
我的打开是这个样子,要修改一些选项
![](https://img-blog.csdnimg.cn/img_convert/01ba73bd743305e6d15b502f26615bef.png)
二、设置Perspectives
将红框内改成下图选项,最后点击“Apply and Close”
![](https://img-blog.csdnimg.cn/img_convert/cf73ae8e0adca6a0381e9e7b38e8c372.png)
三、验证
显示调试窗口
![](https://img-blog.csdnimg.cn/img_convert/4e052d81e566b065d3cfdbc747dfec17.png)
区域1:显示当前调试代码名“ocr_template_match”,程序运行在162行
区域2:代码编辑器,修改代码,打断点
区域3:变量区,显示变量数据
区域4:Console控制台
感谢: