I'm using Visual Studio Code to write C and I'm using the WSL terminal. I installed gdb from the VS Code terminal to debug my code, but I have to change miDebuggerPath to gdb installation path. But I can't find where gdb got installed into? What would my path be?

  • This bug report might be relevant for your question. – Daniel B Jan 19 at 20:04
  • Try C:/dev/GDB/gdb.exe. – harrymc Jan 19 at 20:45
  • What is gdp? Did you mean something else? – DavidPostill Jan 19 at 21:33
  • 1
    He’s referring to gdb, the GNU Debugger. He only misspelled it every time except once. // It most certainly won’t be at C:\dev when he used WSL to install it. – Daniel B Jan 19 at 21:47
  • Where did you install gdb? In WSL? – Biswapriyo Jan 23 at 16:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.