public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Cygwin Insight not launched just gdb
@ 2002-10-04 21:21 Trevor Forbes
  2002-10-05 18:56 ` Trevor Forbes
  0 siblings, 1 reply; 4+ messages in thread
From: Trevor Forbes @ 2002-10-04 21:21 UTC (permalink / raw)
  To: insight

Can someone kindly confirm that the current cvs version of Insight does
not launch Insight?

Regards Trevor 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Cygwin Insight not launched just gdb
  2002-10-04 21:21 Cygwin Insight not launched just gdb Trevor Forbes
@ 2002-10-05 18:56 ` Trevor Forbes
  2002-10-06 13:02   ` Keith Seitz
  0 siblings, 1 reply; 4+ messages in thread
From: Trevor Forbes @ 2002-10-05 18:56 UTC (permalink / raw)
  To: insight

Ok I see what's happening. Gdb is built as gdb.exe and insight is now
built as insight.exe. However, when I do a make install gdb.exe gets
installed correctly but insight.exe gets installed as ".exe"

BTW I like the change.... 

Trevor

> -----Original Message-----
> From: insight-owner@sources.redhat.com [mailto:insight-
> owner@sources.redhat.com] On Behalf Of Trevor Forbes
> Sent: Saturday, 5 October 2002 1:51 PM
> To: insight@sources.redhat.com
> Subject: Cygwin Insight not launched just gdb
> 
> Can someone kindly confirm that the current cvs version of Insight
does
> not launch Insight?
> 
> Regards Trevor
> 
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Cygwin Insight not launched just gdb
  2002-10-05 18:56 ` Trevor Forbes
@ 2002-10-06 13:02   ` Keith Seitz
  2002-10-06 18:23     ` Trevor Forbes
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2002-10-06 13:02 UTC (permalink / raw)
  To: t4bs; +Cc: insight

On Sun, 6 Oct 2002, Trevor Forbes wrote:

> Ok I see what's happening. Gdb is built as gdb.exe and insight is now
> built as insight.exe. However, when I do a make install gdb.exe gets
> installed correctly but insight.exe gets installed as ".exe"

Chris Faylor just checked in a patch to fix this.

> BTW I like the change.... 

Yeah, me too. It's been a long time coming, and we're now getting really, 
really close to whacking insight from the gdb sources altogether. Just a 
few things left to do: command-line options processing (I've already a 
good start on this; initial patch submitted for comments), 
initialization (I've got something, but haven't submitted it), and, 
finally, move all the insight configury and build stuff into gdbtk/, which 
I also have done a little of in my sandbox.

BTW, the trunk version of insight is quite unstable: Tcl/Tk just doesn't 
work. (And I'm tired of looking for the problem, so I'm starting over with 
Tcl/Tk 8.4.0.)

Keith


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Cygwin Insight not launched just gdb
  2002-10-06 13:02   ` Keith Seitz
@ 2002-10-06 18:23     ` Trevor Forbes
  0 siblings, 0 replies; 4+ messages in thread
From: Trevor Forbes @ 2002-10-06 18:23 UTC (permalink / raw)
  To: insight



> -----Original Message-----
> From: insight-owner@sources.redhat.com [mailto:insight-
> owner@sources.redhat.com] On Behalf Of Keith Seitz
> Sent: Monday, 7 October 2002 5:35 AM
> To: t4bs@hotmail.com
> Cc: insight@sources.redhat.com
> Subject: RE: Cygwin Insight not launched just gdb
> 
> On Sun, 6 Oct 2002, Trevor Forbes wrote:
> 
> > Ok I see what's happening. Gdb is built as gdb.exe and insight is
now
> > built as insight.exe. However, when I do a make install gdb.exe gets
> > installed correctly but insight.exe gets installed as ".exe"
> 
> Chris Faylor just checked in a patch to fix this.

Tks 

> 
> 
> BTW, the trunk version of insight is quite unstable: Tcl/Tk just
doesn't
> work. (And I'm tired of looking for the problem, so I'm starting over
with
> Tcl/Tk 8.4.0.)
> 
> Keith

Over the last couple of months I have been working on Cygwin Insight and
I have patched my version to get around most the insight problems. As
long as I do not call the prefs window things are stable and Tcl/Tk
8.3.0 is working great in Cygwin.  

The reason I have not submitted a patch is that it's a workaround not a
fix and I am still very new to Tcl/Tk. I have been reluctant to discuss
the issues as it will probably end up a (OT) Tcl/Tk command lesson for
me.

Anyway, here is the problem as I see it.

First, I found that when the right mouse button is pushed, there also
can be some mouse movement. (I think is due to angle of the "Microsoft"
right mouse button so the mileage may vary with different mouse types)
This causes Insight to suddenly exit when it tries to display the menu
in response to the right mouse button and also trying to repaint the
balloon in response to the movement event.... Why? As "$win tag remove
_show_variable 1.0" makes _show_variable undefined and is trying to
repaint the balloon with an undefined tag. I guessing in the past that
_show_variable == "" after tag remove....

I made insight reasonably stable by removing all the "$win tag remove
_show_variable 1.0 end" statements and allowing the balloon to repaint
behind the right mouse menu. Note, we could simply get around this by
using a global var to turn on/off balloon help and simply return from
SrcTextWin::motion when displaying popups. This should probably be
implemented anyway.

So I have been digging deeper and it seems (unproven current theory)
that the use of "$win tag remove _show_variable 1.0 end" is incorrect
(pls correct me here if I am wrong). Insight expects "if {$tag == ""}"
will work where from what I can find it should be using something like
"if {(pathName tag ranges tagName) == ""}" to see if text contains a
tag. As in windows the "tag remove" makes _show_variable undefined, and
hence we get a random sudden exit on the use of the right mouse
button....... However, I am still not confident what I am saying here is
correct....More reading needed....

So my next plan was to see if the behaviour was the same using Tcl/Tk
8.4.0 to see if the problem was just isolated to Tcl/Tk 8.3.0.  However,
after reading some of the documentation, I doubt it.

Ok, these are my thoughts which may be incorrect and is demonstrating my
inexperience with Tcl/Tk. I hope this all make sense and is of some use.



Regards Trevor


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-07  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-04 21:21 Cygwin Insight not launched just gdb Trevor Forbes
2002-10-05 18:56 ` Trevor Forbes
2002-10-06 13:02   ` Keith Seitz
2002-10-06 18:23     ` Trevor Forbes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).