Article View: borland.public.jbuilder.debugger
Article #339Re: jbuilder debugger Expression Insight and tool tips don't work
From: yu
Date: Thu, 12 Feb 2004 18:11
Date: Thu, 12 Feb 2004 18:11
111 lines
4432 bytes
4432 bytes
Thanks Hin. After I compiled the codes with debug option (or -g using javac), suspended the project for debugging, pressed the "Show Current Frame" button, I didn't see the local variables in the current frame. It only displayed "No debug information" in the current frame. In the "Threads, call stacks and data" frame, it showed the current stepping thread is at "AWT-Windows" and the selected stack frame is "eventLoop() -1, sun.awt.windows.WToolkit, WToolkit.java". What went wrong? Do I miss any critical components in my system. I did try to reinstall JBuilder on my computer but that didn't help. Any more suggestions? Thanks, "Hin Boen" <hboen@borland.com> wrote in message news:402ab5b7@newsgroups.borland.com... > Hi Yu, > > > after I suspended the project for debugging > > When the VM in the suspended mode, press "Show Current Frame" button, see if the local variable is also shown in the current frame. "Show Current Frame" button is the rightmost button located on the button of JBuilder screen. If you do see the local variables, could you move the mouse over any of those local variables in the editor, and see if the tool tips value is displayed? > > > > I can't make the Expression Insight and tool tips features > > To display the Expression Insight window, you need to hold down the ctrl key, and move the mouse to the expression that you want to evaluate. To see the tool tips value, just move the mouse to the expression that you want to evaluate. > > > Thanks > Hin > > yu wrote: > > >Thanks for your response, Hin. I did use -g option when compiling the > >codes. I also used the Project Properties with the "Source, line and > >variable information" for Debug options. It didn't work either. Even when > >I tried the "Welcome.jpx" and other examples provided by "JBuilder", I can't > >make the Expression Insight and tool tips features work after I suspended > >the project for debugging. This is so frustrating. Please let me know if > >you or anybody in the newsgroup would have more suggestions. Thanks. > > > > > > > >Bruce > > > >"Hin Boen" <hboen@borland.com> wrote in message > >news:4027eb90$1@newsgroups.borland.com... > > > > > >>It seems to me that your class files do not have any debug information. > >>Please make sure your application is compiled with debug information > >>option. If you compile your application with javac, you need to use -g > >>option. If you compile your application within JBuilder, see Project | > >>Project Properties..., select Build tab, select Java tab > >> > >>Thanks > >>Hin > >> > >>yu wrote: > >> > >> > >> > >>>Hi, > >>> > >>> > >>> > >>> I tried to use the JBuilder 8 SE version to debug my projects. Every > >>> > >>> > >time > > > > > >>>I used the debugger to see variable values with the Expression Insight > >>> > >>> > >and > > > > > >>>tool tips features, it doesn't show those variable values. If I use > >>> > >>> > >control > > > > > >>>key and the right mouse click, it always shows the variable <not in > >>> > >>> > >scope> > > > > > >>>message. What am I doing wrong or this feature is not available in the > >>>JBuilder 8 SE version? Many thanks, Bruce > >>> > >>> > >>> > >>> > >>> > >>> > > > > > > > > >
Technical Details
Message-ID:
<402bc220$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4025814c$1@newsgroups.borland.com> <4027eb90$1@newsgroups.borland.com> <402a6c21@newsgroups.borland.com> <402ab5b7@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5c5,4194eead2bfcdcfa X-Google-Attributes: gidff5c5,public X-Google-ArrivalTime: 2004-02-12 10:40:32 PST From: "yu" <yuwang@indiana.edu> Newsgroups: borland.public.jbuilder.debugger References: <4025814c$1@newsgroups.borland.com> <4027eb90$1@newsgroups.borland.com> <402a6c21@newsgroups.borland.com> <402ab5b7@newsgroups.borland.com> Subject: Re: jbuilder debugger Expression Insight and tool tips don't work Date: Thu, 12 Feb 2004 13:11:46 -0500 Lines: 113 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 156.56.66.139 Message-ID: <402bc220$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076609568 156.56.66.139 (12 Feb 2004 10:12:48 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!petbe.visi.com!news.octanews.net!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail