How to debug tikv? experiment vscode + lldb failed

一、Attempt Steps:

1.1 firstly, using bash script ran a PD-SERVER and a TiDB-SERVER

1.2 secondly, using vscode ran an TiKV-SERVER

1.3 thirdly, using bash script grep process

1.4 fourthly, using mysql client send point get, getting correct value

1.5 Finally,faild attempting

At first, it can appear that it will start normally.
But once a breakpoint is clicked, DEBUG process will be terminated

二、Questions:

  1. What debug experience do you have for reference?
  2. Where did I go wrong?

Finally ,I find a successful total debugging tikv with vscode.
More info can be find in this asktug topic

2 Likes