* Strange gdb behavior when debugging Qt apps
@ 2002-02-04 6:48 Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
2002-02-04 10:40 ` Kevin Buettner
0 siblings, 1 reply; 3+ messages in thread
From: Αλέξανδρος Καρυπίδης (Alexandros Karypidis) @ 2002-02-04 6:48 UTC (permalink / raw)
To: gdb
Hello everyone,
I am facing a rather strange problem using gdb. I have written a simple Qt
application which creates a window with a few menu choices. When I run the
application (no debugging), everything is ok. If I try to run it within gdb
however, the fonts used are unreadable. They letters are very small and one
cannot distinguish them. Does anyone have any clue regading this strange
behavior?
Thanks,
Alexandros
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange gdb behavior when debugging Qt apps
2002-02-04 6:48 Strange gdb behavior when debugging Qt apps Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
@ 2002-02-04 10:40 ` Kevin Buettner
2002-02-04 11:28 ` Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Buettner @ 2002-02-04 10:40 UTC (permalink / raw)
To: Αλέξανδρος
Καρυπίδης
(Alexandros Karypidis),
gdb
On Feb 4, 4:46pm, =?iso-8859-7?b?wevd7uHt5PHv8iDK4fH18N/k5/I=?= (Ale wrote:
> I am facing a rather strange problem using gdb. I have written a simple Qt
> application which creates a window with a few menu choices. When I run the
> application (no debugging), everything is ok. If I try to run it within gdb
> however, the fonts used are unreadable. They letters are very small and one
> cannot distinguish them. Does anyone have any clue regading this strange
> behavior?
In the course of starting up the process to be debugged, gdb invokes
the shell. Could it be that a .bashrc, .cshrc, or the like is setting
(or unsetting) an environment variable which is influencing the font
size?
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Strange gdb behavior when debugging Qt apps
2002-02-04 10:40 ` Kevin Buettner
@ 2002-02-04 11:28 ` Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
0 siblings, 0 replies; 3+ messages in thread
From: Αλέξανδρος Καρυπίδης (Alexandros Karypidis) @ 2002-02-04 11:28 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb
So far noone has mentioned anything in the Qt mailing list. Moreover, I
tried running gdb against standard qt apps (like qtcups) and the fonts were
ok, so it's probably not the environment.
Furthermore, it seems that this is thread-related, because it occurs only
with applications spawning other threads. For example, I ran gdb with qtella
(a Qt gnutella client which spawns threads\b) and had the same "garbled fonts"
problem.
More specifically, when gdb's output contains somethin like:
"[New Thread XXXX (LWP YYYYY)]"
Then, the fonts are garbled...
> > I am facing a rather strange problem using gdb. I have written a simple
> > Qt application which creates a window with a few menu choices. When I
> > run the application (no debugging), everything is ok. If I try to run it
> > within gdb however, the fonts used are unreadable. They letters are very
> > small and one cannot distinguish them. Does anyone have any clue
> > regading this strange behavior?
>
> In the course of starting up the process to be debugged, gdb invokes
> the shell. Could it be that a .bashrc, .cshrc, or the like is setting
> (or unsetting) an environment variable which is influencing the font
> size?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-04 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-04 6:48 Strange gdb behavior when debugging Qt apps Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
2002-02-04 10:40 ` Kevin Buettner
2002-02-04 11:28 ` Αλέξανδρος Καρυπίδης (Alexandros Karypidis)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox