Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于SCQL如何远程debug的疑问 #338

Open
Handikang opened this issue Aug 29, 2024 · 4 comments
Open

关于SCQL如何远程debug的疑问 #338

Handikang opened this issue Aug 29, 2024 · 4 comments

Comments

@Handikang
Copy link

1.SCQL的构建我看支持image-dev调试镜像的打包,这样是不是还是需要将调试镜像部署到p2p中,然后映射dlv的默认端口2345,然后配置vscode的launsh.json,通过调用broker的接口或者用brokerctl来触发远程debug?
2.有没有除了写单元测试,和上面我提到的远程debug的更为方便更为完备的远程debug方法?
3.如何远程debug引擎的代码(c++)?

@tongke6
Copy link
Collaborator

tongke6 commented Aug 30, 2024

image-dev 只是给镜像里安装了一些 debug 工具;关于如何 debug golang 和 c++ program,可自行搜索哈

@Handikang
Copy link
Author

Handikang commented Aug 30, 2024 via email

@tongke6
Copy link
Collaborator

tongke6 commented Aug 30, 2024

dlv 和 gdb 都可以 attach 正在运行的进程吧

@Handikang
Copy link
Author

Handikang commented Sep 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants