Forum Discussion
pitachu
15 years agoOccasional Contributor
Hi David,
I am able to see the test function located in the assembly from within the Code Completion window. The test function I wrote simply returns a string back to Test Complete and I have confirmed this also to be working.
However, I'm still having a problem reaching the breakpoint I set in my assembly. This is after I already attached to the tcHosting process from VS2008.
Here are the steps I've taken:
1) Created a simple function called Hello() in my World Class which does some magic and returns a string.
2) Compiled a debug version of the assembly.
3) Open TC and CLRBridge and select the debug assembly. Click Reload.
4) Check to see if tcHosting Process is now running in Task Manager. (It is running)
5) Go back the Hello() function in VS2008 and set a breakpoint in the code.
6) Attach to the tcHosting Process
Immediately after step 6, I get the "breakpoint cannot be set" warning on the breakpoint. When running the script in TC, I get the string back from the assembly immediately (skipping my breakpoint).
Is there anything else I need to do?
Thanks.
I am able to see the test function located in the assembly from within the Code Completion window. The test function I wrote simply returns a string back to Test Complete and I have confirmed this also to be working.
However, I'm still having a problem reaching the breakpoint I set in my assembly. This is after I already attached to the tcHosting process from VS2008.
Here are the steps I've taken:
1) Created a simple function called Hello() in my World Class which does some magic and returns a string.
2) Compiled a debug version of the assembly.
3) Open TC and CLRBridge and select the debug assembly. Click Reload.
4) Check to see if tcHosting Process is now running in Task Manager. (It is running)
5) Go back the Hello() function in VS2008 and set a breakpoint in the code.
6) Attach to the tcHosting Process
Immediately after step 6, I get the "breakpoint cannot be set" warning on the breakpoint. When running the script in TC, I get the string back from the assembly immediately (skipping my breakpoint).
Is there anything else I need to do?
Thanks.