SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Debugging Issues

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Debugging Issues
Author Message
Stephen Marchlik



Joined: 09 Aug 2001
Posts: 10

Post Debugging Issues Reply with quote

I am developing some source code on a remote machine using PCAnywhere. I have had no problem using the editor remotely via PCA, but everytime I try to set a breakpoint in the debugger, I receive the following error:

"Breakpoint line must contain an executable statement!"

Now I assume this means I have to be attempting to place a breakpoint on an executable line. I am doing this, but keep getting the same error.

Thoughts? I hate to do it, but is there a way to code in a break point? I hate stepping through 500 lines of code each time.

Thanks,
SM

Wed Sep 19, 2001 10:43 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: Debugging Issues Reply with quote

If you use double-click to set/reset breakpoint it is possible that the debugger cannot determine the correct mouse pointer position because you use PCAnywere. What you see on your screen not necessary is the same how it looks on the remote machine. For example your PCAnywere host may generate double-click event without moving mouse-pointer first, etc...

A more reliable way is to click on the line where you want to set the break-point then use the Debug menu to set the breakpoint on the current line.

Also, note that that breakpoints info is stored in a plain tab-separated text file "breakpoints.txt" which is used for saving this info between debugging sessions. You can also edit this file directly, but be careful when editing the file do not change the file format.

: I am developing some source code on a remote machine using PCAnywhere. I have
: had no problem using the editor remotely via PCA, but everytime I try to
: set a breakpoint in the debugger, I receive the following error:
: "Breakpoint line must contain an executable statement!"

: Now I assume this means I have to be attempting to place a breakpoint on an
: executable line. I am doing this, but keep getting the same error.

: Thoughts? I hate to do it, but is there a way to code in a break point? I
: hate stepping through 500 lines of code each time.

: Thanks,
: SM

Wed Sep 19, 2001 11:24 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.