public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Insight 5.0 and GDB 5.0
       [not found] <973984454.30568.ezmlm@sources.redhat.com>
@ 2000-11-13 12:01 ` Jim Ingham
       [not found]   ` <20001114041709.A930@orion.exa.homeip.net>
  2000-11-13 14:01 ` debugging a program that takes command line args Jim Ingham
  1 sibling, 1 reply; 4+ messages in thread
From: Jim Ingham @ 2000-11-13 12:01 UTC (permalink / raw)
  To: insight

Eray,

The fact that on SOME versions of XFree86 using X Input methods really slows Tk down, particularly if there are lots of sub-windows, has been reported numerous times on the Tcl newsgroup.  One of the features for 8.4 is a runtime switch in Tk that can turn off the X Input method support - rather than compile-time as it now is...  It does not affect all versions of XFree86, however, and it doesn't affect most other X Servers.  Sounds like you drew a low card here - sigh.  Your best choice for now is to comment the defined for input methods out in the Tk sources, and rebuild...

Sorry...

Jim

On Saturday, November 11, 2000, at 03:14 PM, insight-digest-help@sources.redhat.com wrote:

> From: Eray Ozkural <erayo@cs.bilkent.edu.tr>
> Date: Sat Nov 11, 2000  12:38:52 PM US/Pacific
> To: bstell@ix.netcom.com
> Cc: insight@sourceware.cygnus.com
> Subject: Re: Insight 5.0 and GDB 5.0
> 
> bstell@ix.netcom.com wrote:
> 
> > Besides the source window do you have any other
> > windows (stack/local variables/watch) open?
> > 
> > When I have any non-source window open it really
> > slows the ui down.
> 
> I don't think it matters which windows are open. Even
> when changing tabs in the editor is very slow. I think
> it's really about the x input method thingie in tcl. I guess
> I'll comment out that in my insight and sourcenav builds.
> 
> 

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

* Re: debugging a program that takes command line args
       [not found] <973984454.30568.ezmlm@sources.redhat.com>
  2000-11-13 12:01 ` Insight 5.0 and GDB 5.0 Jim Ingham
@ 2000-11-13 14:01 ` Jim Ingham
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Ingham @ 2000-11-13 14:01 UTC (permalink / raw)
  To: insight

Adam,

Go to the Target Settings panel (look under the File menu on the Source window).  Set the target to "exec".  Then you will get an "args" entry box in the target settings.  Type your arguments in the Run window, and you are good to go.

The non-gui way to do it, is to bring up the console window, and type

(gdb) set args whatever

Then run as normal.

Hope  this helps,

Jim

On Saturday, November 11, 2000, at 03:14 PM, insight-digest-help@sources.redhat.com wrote:

> From: Adam Schuetze <adam@adam-schuetze.org>
> Date: Sat Nov 11, 2000  03:15:00 PM US/Pacific
> To: Insight Mailing List <insight@sourceware.cygnus.com>
> Subject: debugging a program that takes command line args
> 
> Hi all,
> 
> I'd like to be able to use insight to debug programs that take
> command line arguements, but I cannot discover how to do this.
> 
> I have tried things like:
> 
> gdb test_program arg1 arg2 arg3
> 
> but the args are ignored.
> 
> How is this done?
> 
> thanks,
> 
> -- 
>             Adam Schuetze <adam@adam-schuetze.org> 
>         Get my pgp keys at http://www.adam-schuetze.org 
> 
>                    -  pgp fingerprints  - 
> rsa: B8 80 DA D6 BB CA 80 5F C5 68 1C 08 FE 3E 65 1C 
> dss: 46 CB B3 C3 A1 C9 BA 57 7C B4 A1 6A BF 8F 2D 95 2B 7A 1D 77

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

* Re: Insight 5.0 and GDB 5.0
       [not found]   ` <20001114041709.A930@orion.exa.homeip.net>
@ 2000-11-13 23:40     ` Eray Ozkural
  0 siblings, 0 replies; 4+ messages in thread
From: Eray Ozkural @ 2000-11-13 23:40 UTC (permalink / raw)
  To: insight

On Tue, Nov 14, 2000 at 04:17:09AM +0200, Eray Ozkural wrote:
> It looks like uncommenting TK_USE_INPUT_METHODS didn't give a big
> performance boost. Perhaps tcl/tk works better on windows.. :?

No, it did make some dialogues and GUI events apparently faster.
It seems to have less overhead when doing GUI now, but still
the look&feel is not as good as on windows.

Thanks,


-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo

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

* debugging a program that takes command line args
@ 2000-11-11 15:14 Adam Schuetze
  0 siblings, 0 replies; 4+ messages in thread
From: Adam Schuetze @ 2000-11-11 15:14 UTC (permalink / raw)
  To: Insight Mailing List

Hi all,

I'd like to be able to use insight to debug programs that take
command line arguements, but I cannot discover how to do this.

I have tried things like:

gdb test_program arg1 arg2 arg3

but the args are ignored.

How is this done?

thanks,

-- 
            Adam Schuetze <adam@adam-schuetze.org> 
        Get my pgp keys at http://www.adam-schuetze.org 

                   -  pgp fingerprints  - 
rsa: B8 80 DA D6 BB CA 80 5F C5 68 1C 08 FE 3E 65 1C 
dss: 46 CB B3 C3 A1 C9 BA 57 7C B4 A1 6A BF 8F 2D 95 2B 7A 1D 77

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

end of thread, other threads:[~2000-11-13 23:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <973984454.30568.ezmlm@sources.redhat.com>
2000-11-13 12:01 ` Insight 5.0 and GDB 5.0 Jim Ingham
     [not found]   ` <20001114041709.A930@orion.exa.homeip.net>
2000-11-13 23:40     ` Eray Ozkural
2000-11-13 14:01 ` debugging a program that takes command line args Jim Ingham
2000-11-11 15:14 Adam Schuetze

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).