Debugging Library Code with Visual Studio's Linux support

前端 未结 1 1498
悲&欢浪女
悲&欢浪女 2021-01-21 11:48

I\'m using Visual Studio 2017\'s integration to build and debug a CMake Linux application locally in the Windows Subsystem for Linux.

When running the application, Visua

相关标签:
1条回答
  • 2021-01-21 12:04

    If you are debugging in gdbserver mode, the default, try switching to gdb mode in the project properties / debugging page.

    Basically, gdbserver mode is a nice idea that never quite delivered. Here's one discussion about it on the VCLinux GitHub site. As you'll see, gdb will become the default debugging mode once they've fixed the problems with console applications.

    0 讨论(0)
提交回复
热议问题