Article View: borland.public.jbuilder.debugger
Article #338Re: jbuilder debugger Expression Insight and tool tips don't work
From: Hin Boen
Date: Thu, 12 Feb 2004 18:29
Date: Thu, 12 Feb 2004 18:29
180 lines
5460 bytes
5460 bytes
Hi Yu, > suspended the project for debugging I assume you press "pause" button to suspend the VM. And the VM happens to stop at WToolkit.java. Since this java file is part of the JDK, and is not compiled with debug information, JBuilder will not be able to show you any data. If you want the VM to stop at your java code, you need to add a line breakpoint in that java code. When VM executes that java code, it will hit the line breakpoint and suspend the VM. -Hin yu wrote: >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:
<402bc4f7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!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> <402bc220$2@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:31 PST Date: Thu, 12 Feb 2004 10:29:11 -0800 From: Hin Boen <hboen@borland.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.debugger Subject: Re: jbuilder debugger Expression Insight and tool tips don't work References: <4025814c$1@newsgroups.borland.com> <4027eb90$1@newsgroups.borland.com> <402a6c21@newsgroups.borland.com> <402ab5b7@newsgroups.borland.com> <402bc220$2@newsgroups.borland.com> In-Reply-To: <402bc220$2@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.11.228 Message-ID: <402bc4f7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076610295 10.143.11.228 (12 Feb 2004 10:24:55 -0800) Lines: 181 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail