Friday, June 19, 2015

Managed C++ 디버깅하기(브레이크포인트 안걸릴때)

C#과 Managed C++을 연동할때 C#에서는 브레이크포인트가 걸리는데 Managed C++ 단독으로는 브레이크포인트가 안걸릴 때가 있다.

그럴때는 다음과 같이 2가지 절차를 거친다.
1. Managed C++의 속성창에서 Debugging - Debugger Type에 Mixed로 설정한다.

2. Visual Studio의 옵션에서 Debugging - Use Managed Compatibility Mode를 체크한다.

No comments:

Post a Comment