-
Notifications
You must be signed in to change notification settings - Fork 51
Support for VS Code cppvsdbg Scenarios
Gregg Miskelly edited this page May 28, 2021
·
4 revisions
In addition to powering native (C/C++) debugging in Visual Studio, Concord also can be used in VS Code with the cppvsdbg
debug adapter from the C/C++ VS Code Extension starting with C++ extension release 1.4.0. Note that this debug adapter is Windows-only. Cross-platform C++ debugging in the C/C++ Extension is done with the cppdbg
debug adapter and this does NOT involve Concord.
Making a Concord extension work in this scenario is very similar to the work for cross-platform .NET scenarios so this page will mostly defer to that documentation, and list differences:
- No need to compile for .NET Core / Linux - the Linux part is probably obvious. This is subject to change in the future, but for now at least, any managed code in the vsdbg.exe process will run on the desktop .NET Framework.
- No .pkgdef files: Like the .NET Scenario, if you have a .pkgdef file to register a language with the debugger then this needs to be converted to a .vsdbg-config.json file. One enhancement for native debugging is that a language has a
codeViewCompilerIds
property to specify mappings from code view language enumeration values. - .link files: Link files need to be dropped to %USERPROFILE%\.cppvsdbg\extensions
- To debug your extension, the best option is to attach to the vsdbg.exe process
Concord Documentation:
- Overview
- Visual Studio 2022 support
- Concord Architecture
- Getting troubleshooting logs
- Tips for debugging extensions
- Component Discovery and Configuration
- Component Levels
- Navigating the Concord API
- Obtaining the Concord API headers, libraries, etc
- Concord Threading Model
- Data Container API
- Creating and Closing Objects
- Expression Evaluators (EEs)
- .NET language EEs
- Native language EEs
- Installing Extensions
- Cross Platform and VS Code scenarios:
- Implementing components in native code:
- Worker Process Remoting
Samples: