Forum Discussion

sowmya_bs's avatar
sowmya_bs
Contributor
16 years ago

Script does not stop at the breakpoints. Debugging is not working. why?

Hi.. I am facing a problem with the Testcomplete 7.52

I have given the breakpoints in the scripts but the script does not stop at the breakpoints. It continuously execute. Can any one please help me on this regard.? does anything needs to be installed.?



-Thanks

Sowmya BS

9 Replies

  • Hey Thanks .. I could find the issue was due to the MS Debugger was not being installed on my system.

    The shared artical is also very helpful. I wil lshare this articale with my team here. :)

  • Hi All-

    I realize I'm a year late for this thread but I'm replying to it rather than start a new one as my situation is similar. TC8.5 doesn't stop at breakpoints in scripts or functions I've written in VBScript. Many have suggested installing MS Script Debugger but the link that has been given elsewhere states that the debugger doesn't support Windows 7 which is my OS. Does anyone know if there is now support for W7? And if not, is there any risk downloading the debugger even if W7 is not supported?


    Best,

    Chris

  • karkadil's avatar
    karkadil
    Valued Contributor
    Could you please attach a screenshot with error you get when trying to install MS Script Debugger?



    This is strange, because I have this debugger installed on 2 PCs with Win7 (32 and 64 bit) and everything works
  • Anonymous's avatar
    Anonymous

    Hi Chris,





    Microsoft stopped supplying Script Debugger as a separate tool. Now, the latest Script Debugger version is snipped only along with Visual Studio.

    Although Windows 7 is not on the list of the supported OS, the tool works on this OS fine.
  • Thanks for replying folks. Gennadiy, I hadn't actually tried to install MS script debugger yet, I was just wondering if I could with Windows7. Tanya, you've said I can install MS debugger with no problems. Sounds good, I can certainly do that. My only follow-up question is, is there any other option other than MS Script Debugger? I would  have thought something as simple as putting a breakpoint on a script in TC and having the script stop at that breakpoint would be a function that would have come with TC.



    Chris
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Chris,



    It is a function that comes with TC, however, TC utilizes the MS Script Debugger to execute that function.  Rather having to write their own debug code, I assume the SmartBear developers used an existing item that was already available.



    These requirements are documented in TC.  http://smartbear.com/support/viewarticle/11360/
  • Microsoft stopped supplying Script Debugger as a separate tool. Now, the latest Script Debugger version is snipped only along with Visual Studio.

    This part bothers me.  Could the installation of a version of the script debugger be included with the TC installer and installed as a pre-requisite?  
  • Anonymous's avatar
    Anonymous



    Hi Russell,





    Sometimes, there is no need to debug tests by using TestComplete, for example, when an early prepared test must be executed on a particular PC. In this case, there is no need to install the Script Debugger on that machine. If you want to debug a test by using TestComplete and the Script Debugger isn't installed on the computer, the product offers you to download and install the Debugger.