출처: https://msdn.microsoft.com/ko-kr/library/605a12zt(v=vs.120).aspx
Visual Studio 2013 대상
How to: Debug from a DLL Project
To specify the calling application in a C++ project
In Solution Explorer, select the DLL project.
On the View menu, choose Property Pages.
In the ProjectProperty Pages window, in the Configuration drop-down list, choose Debug.
Open the Configuration Properties folder, and select the Debugging category.
In the Debugger to launch list, choose Local Windows Debugger or Remote Windows Debugger.
In the Command or Remote Command box, click the drop-down arrow, and select Browse from the list to locate the application.Alternatively, type the path and name of the application.
Type any necessary program arguments in the Command Arguments box.
To specify the calling application in a C# or Visual Basic project
In Solution Explorer, select the DLL project.
On the View menu, choose Property Pages.
In the ProjectProperty Pages window, in the Configuration drop-down list, choose Debug.
Click the Debug tab.
You can start the application by either doing the following:
Set the Start Action to Start external program.
In the Start external program box, click the ellipsis button to browse for the application.
Enter any necessary program arguments in the Command Line Arguments box.
Or, you can invoke an application at a URL. (You might want to do this if you are debugging a managed DLL used by a local ASP.NET application.)
Under Start Action, select the Start browser in URL: radio button.
In the adjoining text box, type the URL.
To start debugging from the DLL project
In Solution Explorer, select the DLL project.
Set breakpoints as needed.
Enter the name and location of the calling application in the ProjectProperty Pages dialog box or window. If the application is a console application, fill in the command line arguments, if it is necessary.
'Programming > C++' 카테고리의 다른 글
[펌] ffmpeg - rtmp sample 테스트 (rtsp도 포함) (0) | 2016.03.27 |
---|---|
[펌] pragma에 관한 사용법 (0) | 2016.03.07 |
[펌] C++ DebugView로 디버그 메시지 보기 (0) | 2015.05.13 |