I was having problems debugging a script. I had a breakpoint set in the script and when TestComplete got to the breakpoint it paused, but the focus didn't go to the code editor, it stayed on the application I was testing. I had to Alt+Tab to go to the Code Editor in TestComplete. I had some watches set and after I deleted them, TestComplete behaved as I expected - when I got to the breakpoint, the focus switched to the TestComplete code editor.
When I was experiencing the problem, I had another tester here open my project and then run the same script I had the breakpoint set in - she had no problems at all (when the script paused, focus swiched back to the code editor). So I don't think it was something peculiar to that project. One other thing I forgot to mention - when the script paused (but didn't switch back to the code editor), the TestComplete icon in the upper right corner of the screen had "paused" listed for a status.
After I cleared the watches, it worked as expected. I then added some watches to see if that would cause the unexpected behavior to reoccur - it didn't. And now the project is running with without any problems.
Probably what I should do is see if this occurs again, and then send you the project with the watches I have set.