Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
532 views
in Technique[技术] by (71.8m points)

c++ - Can I debug a C dll with a C# app within Visual Studio 2017?

I know it can be done with C++, but can't get it to work with C.

We have a stand-alone hardware device using an ARM controller with firmware written in C. In order to speed testing we decided to create a software simulation of the device which consists of a C++ dll using the actual device C firmware as source code and a C# GUI interface.

The dll was created using a C++ template with the Configuration->C/C++->Advanced->Compile As set equal to 'Compile as C Code (/TC)'. The GUI and dll work fine, but I would like to debug the C dll source code but can't get mixed mode debugging to work. Is the C compiler not compatible with mixed mode debugging?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...