Debugging engine not connected to IDE

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Debugging engine not connected to IDE

Postby rioba » Wed Jul 30, 2008 7:30 pm

When I try to use the debugger and click on the Step Over button, most of the time the arrow indicating the active line of code dissapears, the debugger stops and the MacOS X spinning wheel appears, often followed by a message: debugging engine not connected to IDE (or maybe IDE not connected to debugging engine, I am not sure).

The strange think is that this may or may not happen at the same breakpoint, but I can't understand why. Any suggestion?
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Postby jcompagner » Thu Jul 31, 2008 12:56 pm

do you have the variables view then visible?

If you close the variables view do you still have that?
I fixed already some problems in that area where some variables would kill the debugger like that.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby rioba » Thu Jul 31, 2008 2:13 pm

I always have the variable view open. I will try closing it and see what happens.
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Postby rioba » Fri Aug 01, 2008 7:02 am

Yes, closing the variables view solves the freezing but now I can't evaluate what's happening. It is a sort of Catch 22 situation.

I also noticed this message when I try to force quit Servoy Eclipse: "rebuilding workspace", and a progress bar appears in the lower right corner of the Eclipse window
rioba
 
Posts: 242
Joined: Mon Aug 08, 2005 4:26 pm

Re: Debugging engine not connected to IDE

Postby jcompagner » Mon Aug 18, 2008 11:00 am

The stability in the debugging area (with the variables view) is greatly improved for 4.0.1
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Debugging engine not connected to IDE

Postby Bounce » Wed Oct 08, 2008 8:32 pm

Hi all,

I am new to servoy but i am already quite excited by the features i have seen.
I have installed servoy successfully on my Ubuntu box and i have managed to create a solution that connects to a mysql database.

The problem is every time i want to launch the smart client it works but in the background it is trying to "launch globals.js" and that hangs at 78%. After a while it comes back with an error "Debugging engine not connected to IDE".
The other issue (which might be linked to the first) is that i can't start a webclient. Whenever i click on that button it seems to load something but in the end nothing happens.

Is servoy even compatible with Ubuntu?

Thanks for your help,
Regards,
Bounce
Bounce
 
Posts: 5
Joined: Wed Oct 08, 2008 7:07 pm

Re: Debugging engine not connected to IDE

Postby jcompagner » Thu Oct 09, 2008 9:23 am

dont you see anything else in the log (servoy_log.txt or .log in workspace dir)? (except that debugging engine not connected, because thats just a result of)

it could be that some port is blocked i think we try to open something like 10000 where the debugger then wants to connect to.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Debugging engine not connected to IDE

Postby Bounce » Thu Oct 09, 2008 9:47 am

Thanks for the reply,

I checked but i see no log files in my servoy_workspace directory. I only have a resource folder and a folder for my solution.
I haven't yet checked to see if port 10000 is closed though knowing Ubuntu i should think that it is.
I will check this and get back to you.

Cheers,
B.
Bounce
 
Posts: 5
Joined: Wed Oct 08, 2008 7:07 pm

Re: Debugging engine not connected to IDE

Postby jcompagner » Thu Oct 09, 2008 10:07 am

there has to me a .metadata dir
please look carefully because it starts with a . so it is invisible be default for many things.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Debugging engine not connected to IDE

Postby Bounce » Thu Oct 09, 2008 10:54 am

All good thanks !

1) The files were hidden ... duh :)
2) I opened udp port 10 000 and the problem is solved !

For anyone who needs to do this on Ubuntu : sudo iptables -I INPUT -p udp --dport 10000 -j ACCEPT
Thanks for your help.
Bounce
 
Posts: 5
Joined: Wed Oct 08, 2008 7:07 pm

Re: Debugging engine not connected to IDE

Postby Gary R. Schaecher » Thu Oct 09, 2008 5:48 pm

We are having continuing problems when using the debugger in both 4.0.1 and 4.1beta1 where we get "Debugging engine not connect to IDE" appears. Really is frustrating when trying to debug code. Hope it gets stable sooner rather than later.
Gary R. Schaecher
TMA Systems, LLC
www.tmasystems.com
Gary R. Schaecher
 
Posts: 72
Joined: Sat Jan 06, 2007 11:01 pm

Re: Debugging engine not connected to IDE

Postby full_noize » Fri Jun 12, 2009 8:51 am

I am running a Windows 2003 server box and keep getting this 'Debugging engine not connected to IDE'. I have opened port 10000 (both UDP and TCP) with no success. Is there any thing else that anyone out may have tried with this issue that has been successful?
Phil Barnett

Servoy 4.1.3 build 672
Sybase
Windows 2003
North Shore & Hills District Moving and Storage
Removalist Sydney
Storage Sydney
full_noize
 
Posts: 50
Joined: Mon Mar 10, 2008 1:41 pm
Location: Sydney, Australia

Re: Debugging engine not connected to IDE

Postby jcompagner » Fri Jun 12, 2009 11:45 am

with the current release of servoy 4.1.x there is no need to open a port.
It will try find a free port and use that one.

I guess on windows 2003 server the process isnt allowed to open up any ports?
Does the admin pages work if you have started te developer?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Debugging engine not connected to IDE

Postby full_noize » Fri Jun 12, 2009 3:44 pm

Hi Johan,

I got it working, tried a few things that didn't seem to work (shut down ipnat.sys, opened the udp and tcp 10000 but as you say this shouldn't make a difference, stopped and started the remote access service) until I restarted the server and Servoy so I am not exactly sure what did it, but Win2003 can be a law unto itself sometimes...

I have been following your tutorial on debugging Servoy 4.x and I don't have the Script debug console available as an option... Am I missing something or is this an 'issue'? Thanks for your help Johan, your tutorial is very good by the way.
Attachments
clip_image002.jpg
No script debug...
clip_image002.jpg (15.79 KiB) Viewed 10980 times
Phil Barnett

Servoy 4.1.3 build 672
Sybase
Windows 2003
North Shore & Hills District Moving and Storage
Removalist Sydney
Storage Sydney
full_noize
 
Posts: 50
Joined: Mon Mar 10, 2008 1:41 pm
Location: Sydney, Australia

Re: Debugging engine not connected to IDE

Postby jcompagner » Fri Jun 12, 2009 4:51 pm

Script Debug Console is replaced by the Interactive Console in 4.1
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8872
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 4 guests