Re: [eclipse-users] Debugdemo example

From: Kish Shen <kisshen_at_...5...>
Date: Thu, 30 Aug 2007 15:07:25 +0100
Hi Wojciech,

Wojciech Pieprzyca wrote:
> Dear ECLiPSe users!
>
> I try to run an example of debugdemo according to the tutorial
> on windows xp system with ECLiPSe 5.10_89.
> It seems to work correctly and I can see the graphical window
> with coloured map (mapdebugdemo), but when I try to close
> this window (pressing Done and X) there is an exception from
> Wish Application (I guess it's connected with Tcl/Tk library).
>
> Is there any solution to correct this problem ?
>
> Best regards,
> Wojciech Pieprzyca
>
>   
By `X' I assume you mean the red X icon in the title bar of the window 
that should close the window.

The  `Done' button  cause the colour query to return, and puts the 
mapdebugdemo window into a kind of suspension state, awaiting another 
colour query from ECLiPSe. It seems that the close window operation 
(which is initiated by pressing the close icon like you did) is handled 
differently under MS Windows than on  X Windows, and under the 
suspension state in MS Windows, the .close window request is not processed.
(and you get this window is not responding message)

I need to look into this further to see if there is a way round this.

For now, you can close the window cleanly by quitting from ECLiPSe, 
which will close both the ECLiPSe and the debugdemo windows.
> PS. I have to change the register path manually in mapdebugdemo.tcl
> from
>         HKEY_LOCAL_MACHINE\\SOFTWARE\\IC-Parc\\Eclipse\tkecl(version)
> to
>         HKEY_LOCAL_MACHINE\\SOFTWARE\\IC-Parc\\Eclipse\\5.10
> because otherwise it didn't work at all.
>
>
>   
Thanks for spotting the problem -- there should have been a $ before the 
tkecl(version). I will fix this.

Cheers,

Kish

> _______________________________________________
> ECLiPSe-Users mailing list
> ECLiPSe-Users_at_...2...
> http://www.crosscoreop.com/mailman/options/eclipse-users
>   
Received on Thu Aug 30 2007 - 15:07:56 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:19 CEST