Forum Discussion

smskrishna's avatar
smskrishna
Occasional Contributor
14 years ago

Breakpoint is not working in TC 8.2 trial version

Hi



I am using Testcomplete 8.2 trial version for automating .Net application. Though I am able to add break point, test run is not stopping at the brek point. I have selected Enable debugging option in Debug toolbar.

4 Replies

  • CG_DM's avatar
    CG_DM
    New Contributor
    Hi,



    I have the same problem with version 8.20.538.7 - (not trial)

    As well breakpoints than runner.pause don't stop the script.

    The application under test is not a web application.



    Note : On the same pc both methods work fine with version 7.52.678.7



    What for solution?

    Is there a new version of  Test Complete 8.2 who fixed this problem?



    Best ragards,



    Monique.

  • Hi Monique,





    Do you have Visual Studio installed on your PC? If yes, there is a possibility that TestComplete uses the script debugger shipped along with Visual Studio. This debugger can work incorrectly with TestComplete. Please follow the steps below:

    1. Close Visual Studio and TestComplete.

    2. Rename the VS7Debug folder on your disk (the path to it looks like this: C:\Program Files\Common Files\microsoft shared), for example, to _VS7Debug.

    3. Reinstall the Microsoft Script Debugger using the link from the mentioned FAQ article.





    If the problem persists after you have followed the instructions, act in the following way:

    1. Set breakpoints and try running your script in TestComplete.

    2. Open the Process Explorer.

    3. Click 'Find | Find Handle or DLL...' in the main menu and search for the pdm.dll library.

    4. If it is found, tell us the path specified in the 'Handle or DLL' column.

    5. Repeat steps 3 and 4 for the msdbg.dll and msdbg2.dll libraries.


  • CG_DM's avatar
    CG_DM
    New Contributor
    Thanks for the answer,



    The solution was, as described in the FAQ, installation of Microsoft Script Debugger

    I didn't try it before because all was functionnal under Test complete 7.



    Best Regards,



    Monique