Attach dlv into running milvus #32758
Unanswered
hyojeongyunn
asked this question in
Q&A and General discussion
Replies: 3 comments 2 replies
-
@SimFG any idea? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Usually, debugging into Milvus doesn't help our work. There are many async threads running in Milvus, a debug breakpoint might cause timeout of other threads and terminate the entire process. Print log is a common way to address the issues. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@hyojeongyunn You can try to perform some actions,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm trying to debug running milvus, but I have some problem with it.
Is it possible to attach dlv to running milvus? (I can run unittest with my vscode debugger.)
Whenever I try debug on running milvus, it always makes this error and stop. - "Encountered an unexpected DWARF CFA opcode: 0x2e" And the call stack of this error is from dlv, not milvus.
So, I cannot send query to it.
I'm debugging on vscode with below
launch.json
configurations.cf. I cloned milvus repo onto my
home
directory so the path are like above.For more information,
I'm working on linux, ubuntu20.04.
I followed this page build, and I'm running containers with this command
./scripts/devcontainer.sh up
.My dlv version is 1.22.1 and go version is 1.20.7 linux/amd64.
Beta Was this translation helpful? Give feedback.
All reactions