首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >GDB调试错误-- "localhost:3333:操作超时“

GDB调试错误-- "localhost:3333:操作超时“
EN

Stack Overflow用户
提问于 2020-08-29 08:37:17
回答 1查看 1.1K关注 0票数 0

我刚刚在Eclipse中设置了一个Espressif项目,但是在遵循instructions here之后使用OpenOCD进行调试时,我得到了以下错误:

代码语言:javascript
运行
复制
Error in final launch sequence:

Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: Operation timed out.
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: Operation timed out.
localhost:3333: Operation timed out.

这是否意味着端口3333要么繁忙,要么不存在?此外,当我在终端中运行netstat时,我没有看到带有3333的端口。这可能是原因吗?

EN

回答 1

Stack Overflow用户

发布于 2020-09-07 22:54:11

出现此错误的原因有两种: openocd未运行或正忙。

只有在openocd和gdb之间已经有连接时,您才会看到使用netstat的3333。

由于在运行netstat时看不到3333,所以openocd很可能没有启动或崩溃。

运行ps ax | grep openocd以确保正在运行openocd。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63642392

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档