zoukankan      html  css  js  c++  java
  • 转载:How to debug dll by using NUnit

    转载自:http://focuswindows.blogspot.com/2008/01/how-to-debug-dll-by-using-nunit.html

    1.Place a breakpoint at the first line of the TestAdd method.



    2.Right-click on the L100MathTests project in Solution Explorer and select Properties.


    Select the Debug tab and fill in the following options:


    Start External Program text box : C:\Program Files\NUnit-Net-2.0 2.2.8\bin\nunit-gui.exe 或者 nunit.exe

    Command Line Arguments text box: L100MathTests.dll

    Working Directory text box: C:\L100MathLib\L100Math\L100MathTests\bin\Debug\

    3. Select Debug | Start Debugging from the main menu or use the F5 shortcut.


    4. Switch to the NUnit GUI application and double-click on the TestAdd method. The breakpoint that you previously set should be hit and a yellow cursor and line will be shown.

    5.Select Debug | Step Into from the debugger main menu to enter the MathHelper.Add method.
  • 相关阅读:
    CSU L: 就多了两分钟
    CSU 1112【机器人的指令】模拟
    P3388 【模板】割点(割顶)
    go 学习 2
    go 学习 1
    netconf协议
    lua 学习 5
    lua 学习 4
    lua 学习 3
    lua 学习 2
  • 原文地址:https://www.cnblogs.com/Koy/p/1078310.html
Copyright © 2011-2022 走看看