Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » problem with step over debugging
problem with step over debugging [message #55915] Wed, 01 January 2003 13:26 Go to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

Hi,
I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently CDT can
work when I compile code,run code.But once I launch debugging session
after I set breakpoint,the 'step in/over/return' button's color turns
grey.Actually I can't use any functionalities in debugging mode,for
instance:there's nothing in variables/memory/expressions views.
I just make the helloworld program as my test case,still failed.Does it
mean CDT gets problems with GDB?I've upgraded the default GDB of minGW
into GDB v5.2.1 already.

thanks a lot in advance.

xusoo
Re: problem with step over debugging [message #55948 is a reply to message #55915] Wed, 01 January 2003 13:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

and more,I've set '-g' option already,but still failure.
After i terminate the debugging session,the 'stepping arrow' is still
there in source editor.

regards,
xusoo

xusoo wrote:

> Hi,
> I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently CDT can
> work when I compile code,run code.But once I launch debugging session
> after I set breakpoint,the 'step in/over/return' button's color turns
> grey.Actually I can't use any functionalities in debugging mode,for
> instance:there's nothing in variables/memory/expressions views.
> I just make the helloworld program as my test case,still failed.Does it
> mean CDT gets problems with GDB?I've upgraded the default GDB of minGW
> into GDB v5.2.1 already.

> thanks a lot in advance.

> xusoo
Re: problem with step over debugging [message #55966 is a reply to message #55915] Wed, 01 January 2003 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

Hi,

"xusoo" <javacard@hotmail.com> wrote in message
news:auuqai$k9b$1@rogue.oti.com...
> Hi,
> I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently CDT can
> work when I compile code,run code.But once I launch debugging session
> after I set breakpoint,the 'step in/over/return' button's color turns
> grey.Actually I can't use any functionalities in debugging mode,for
> instance:there's nothing in variables/memory/expressions views.

Can you describe what you see in the Launch view?
The availability of the debugger's menu options depend on the item currently
selected in the Launch view. The 'step' options are available only for
threads or stack frames.
The variables view displays the content of the currently selected stack
frame. If no stack frame is selected it is empty.
To add an expression to the Expression view use the 'Add C/C++ Expression'
option of the editor's context menu. It is enabled only if your debug
session is running.

> I just make the helloworld program as my test case,still failed.Does it
> mean CDT gets problems with GDB?I've upgraded the default GDB of minGW
> into GDB v5.2.1 already.
>
> thanks a lot in advance.
>
> xusoo
>

Mikhail
Re: problem with step over debugging [message #56069 is a reply to message #55966] Thu, 02 January 2003 04:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

Mikhail Khodjaiants wrote:
Hi,

> Hi,

> "xusoo" <javacard@hotmail.com> wrote in message
> news:auuqai$k9b$1@rogue.oti.com...
> > Hi,
> > I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently CDT can
> > work when I compile code,run code.But once I launch debugging session
> > after I set breakpoint,the 'step in/over/return' button's color turns
> > grey.Actually I can't use any functionalities in debugging mode,for
> > instance:there's nothing in variables/memory/expressions views.

> Can you describe what you see in the Launch view?
> The availability of the debugger's menu options depend on the item currently
> selected in the Launch view. The 'step' options are available only for
> threads or stack frames.
> The variables view displays the content of the currently selected stack
> frame. If no stack frame is selected it is empty.
> To add an expression to the Expression view use the 'Add C/C++ Expression'
> option of the editor's context menu. It is enabled only if your debug
> session is running.

there's only three lines in the launch view:
+---------------------------------------------------
+--Helloworld Program[C/C++ local]
+--GDB Debugger(1/2/03 12:51 PM)
+--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
+---------------------------------------------------
no matter which one I select,the step is not available.Then I try minGW's
gdb,and steping/printing variable is successful in the command line.That's
why i think maybe it's problem between Eclipse's debugger and GDB.

> > I just make the helloworld program as my test case,still failed.Does it
> > mean CDT gets problems with GDB?I've upgraded the default GDB of minGW
> > into GDB v5.2.1 already.
> >
> > thanks a lot in advance.
> >
> > xusoo
> >

> Mikhail


thanks

Regards,
xusoo
Re: problem with step over debugging [message #56096 is a reply to message #56069] Thu, 02 January 2003 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

"xusoo" <javacard@hotmail.com> wrote in message
news:av0g9b$662$1@rogue.oti.com...
> Mikhail Khodjaiants wrote:
> Hi,
>
> > Hi,
>
> > "xusoo" <javacard@hotmail.com> wrote in message
> > news:auuqai$k9b$1@rogue.oti.com...
> > > Hi,
> > > I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently CDT
can
> > > work when I compile code,run code.But once I launch debugging session
> > > after I set breakpoint,the 'step in/over/return' button's color turns
> > > grey.Actually I can't use any functionalities in debugging mode,for
> > > instance:there's nothing in variables/memory/expressions views.
>
> > Can you describe what you see in the Launch view?
> > The availability of the debugger's menu options depend on the item
currently
> > selected in the Launch view. The 'step' options are available only for
> > threads or stack frames.
> > The variables view displays the content of the currently selected stack
> > frame. If no stack frame is selected it is empty.
> > To add an expression to the Expression view use the 'Add C/C++
Expression'
> > option of the editor's context menu. It is enabled only if your debug
> > session is running.
>
> there's only three lines in the launch view:
> +---------------------------------------------------
> +--Helloworld Program[C/C++ local]
> +--GDB Debugger(1/2/03 12:51 PM)
> +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> +---------------------------------------------------
> no matter which one I select,the step is not available.Then I try minGW's
> gdb,and steping/printing variable is successful in the command line.That's
> why i think maybe it's problem between Eclipse's debugger and GDB.
>

Is the 'Show Debugger Console' option of the Launch view context menu
enabled? If so, check it and the console will show the output from gdb.
Check also the '.log' file. It is located in <Eclipse
directory>\workspace\.metadata.

> > > I just make the helloworld program as my test case,still failed.Does
it
> > > mean CDT gets problems with GDB?I've upgraded the default GDB of minGW
> > > into GDB v5.2.1 already.
> > >
> > > thanks a lot in advance.
> > >
> > > xusoo
> > >
>
> > Mikhail
>
>
> thanks
>
> Regards,
> xusoo
>
Re: problem with step over debugging [message #56122 is a reply to message #56096] Thu, 02 January 2003 19:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bangham.neocera.com

I'm wrestling with this same problem - where is the "Launch View"? it is not
listed under my Window->Show View message bar.

thanks, mike

"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:av1pfd$ob5$1@rogue.oti.com...
>
> "xusoo" <javacard@hotmail.com> wrote in message
> news:av0g9b$662$1@rogue.oti.com...
> > Mikhail Khodjaiants wrote:
> > Hi,
> >
> > > Hi,
> >
> > > "xusoo" <javacard@hotmail.com> wrote in message
> > > news:auuqai$k9b$1@rogue.oti.com...
> > > > Hi,
> > > > I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
CDT
> can
> > > > work when I compile code,run code.But once I launch debugging
session
> > > > after I set breakpoint,the 'step in/over/return' button's color
turns
> > > > grey.Actually I can't use any functionalities in debugging mode,for
> > > > instance:there's nothing in variables/memory/expressions views.
> >
> > > Can you describe what you see in the Launch view?
> > > The availability of the debugger's menu options depend on the item
> currently
> > > selected in the Launch view. The 'step' options are available only for
> > > threads or stack frames.
> > > The variables view displays the content of the currently selected
stack
> > > frame. If no stack frame is selected it is empty.
> > > To add an expression to the Expression view use the 'Add C/C++
> Expression'
> > > option of the editor's context menu. It is enabled only if your debug
> > > session is running.
> >
> > there's only three lines in the launch view:
> > +---------------------------------------------------
> > +--Helloworld Program[C/C++ local]
> > +--GDB Debugger(1/2/03 12:51 PM)
> > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > +---------------------------------------------------
> > no matter which one I select,the step is not available.Then I try
minGW's
> > gdb,and steping/printing variable is successful in the command
line.That's
> > why i think maybe it's problem between Eclipse's debugger and GDB.
> >
>
> Is the 'Show Debugger Console' option of the Launch view context menu
> enabled? If so, check it and the console will show the output from gdb.
> Check also the '.log' file. It is located in <Eclipse
> directory>\workspace\.metadata.
>
> > > > I just make the helloworld program as my test case,still
failed.Does
> it
> > > > mean CDT gets problems with GDB?I've upgraded the default GDB of
minGW
> > > > into GDB v5.2.1 already.
> > > >
> > > > thanks a lot in advance.
> > > >
> > > > xusoo
> > > >
> >
> > > Mikhail
> >
> >
> > thanks
> >
> > Regards,
> > xusoo
> >
>
>
Re: problem with step over debugging [message #56148 is a reply to message #56122] Thu, 02 January 2003 19:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

"Michael" <bangham@neocera.com> wrote in message
news:av21qd$tal$1@rogue.oti.com...
> I'm wrestling with this same problem - where is the "Launch View"? it is
not
> listed under my Window->Show View message bar.
>

It's the 'Debug' view. 'LaunchView' is the name of the class that implements
this view. Sorry for that.

> thanks, mike
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:av1pfd$ob5$1@rogue.oti.com...
> >
> > "xusoo" <javacard@hotmail.com> wrote in message
> > news:av0g9b$662$1@rogue.oti.com...
> > > Mikhail Khodjaiants wrote:
> > > Hi,
> > >
> > > > Hi,
> > >
> > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > Hi,
> > > > > I'm using 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> CDT
> > can
> > > > > work when I compile code,run code.But once I launch debugging
> session
> > > > > after I set breakpoint,the 'step in/over/return' button's color
> turns
> > > > > grey.Actually I can't use any functionalities in debugging
mode,for
> > > > > instance:there's nothing in variables/memory/expressions views.
> > >
> > > > Can you describe what you see in the Launch view?
> > > > The availability of the debugger's menu options depend on the item
> > currently
> > > > selected in the Launch view. The 'step' options are available only
for
> > > > threads or stack frames.
> > > > The variables view displays the content of the currently selected
> stack
> > > > frame. If no stack frame is selected it is empty.
> > > > To add an expression to the Expression view use the 'Add C/C++
> > Expression'
> > > > option of the editor's context menu. It is enabled only if your
debug
> > > > session is running.
> > >
> > > there's only three lines in the launch view:
> > > +---------------------------------------------------
> > > +--Helloworld Program[C/C++ local]
> > > +--GDB Debugger(1/2/03 12:51 PM)
> > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > +---------------------------------------------------
> > > no matter which one I select,the step is not available.Then I try
> minGW's
> > > gdb,and steping/printing variable is successful in the command
> line.That's
> > > why i think maybe it's problem between Eclipse's debugger and GDB.
> > >
> >
> > Is the 'Show Debugger Console' option of the Launch view context menu
> > enabled? If so, check it and the console will show the output from gdb.
> > Check also the '.log' file. It is located in <Eclipse
> > directory>\workspace\.metadata.
> >
> > > > > I just make the helloworld program as my test case,still
> failed.Does
> > it
> > > > > mean CDT gets problems with GDB?I've upgraded the default GDB of
> minGW
> > > > > into GDB v5.2.1 already.
> > > > >
> > > > > thanks a lot in advance.
> > > > >
> > > > > xusoo
> > > > >
> > >
> > > > Mikhail
> > >
> > >
> > > thanks
> > >
> > > Regards,
> > > xusoo
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56171 is a reply to message #56148] Thu, 02 January 2003 19:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bangham.neocera.com

The "show debugger console" option is also disabled. My log file has the
following entry:

!ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
!MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
context.
!STACK 0
org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
current context.
at
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
ava:100)
at
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
va:28)
at
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
va:44)
at
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
BDebugger.java:29)
at
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
alCLaunchConfigurationDelegate.java:84)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:136)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
$10.run(LaunchConfigurationDialog.java:2299)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
..java:98)

Thanks, Mike

"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:av22pl$b23$1@rogue.oti.com...
>
> "Michael" <bangham@neocera.com> wrote in message
> news:av21qd$tal$1@rogue.oti.com...
> > I'm wrestling with this same problem - where is the "Launch View"? it is
> not
> > listed under my Window->Show View message bar.
> >
>
> It's the 'Debug' view. 'LaunchView' is the name of the class that
implements
> this view. Sorry for that.
>
> > thanks, mike
> >
> > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > news:av1pfd$ob5$1@rogue.oti.com...
> > >
> > > "xusoo" <javacard@hotmail.com> wrote in message
> > > news:av0g9b$662$1@rogue.oti.com...
> > > > Mikhail Khodjaiants wrote:
> > > > Hi,
> > > >
> > > > > Hi,
> > > >
> > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > Hi,
> > > > > > I'm using
'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > CDT
> > > can
> > > > > > work when I compile code,run code.But once I launch debugging
> > session
> > > > > > after I set breakpoint,the 'step in/over/return' button's color
> > turns
> > > > > > grey.Actually I can't use any functionalities in debugging
> mode,for
> > > > > > instance:there's nothing in variables/memory/expressions views.
> > > >
> > > > > Can you describe what you see in the Launch view?
> > > > > The availability of the debugger's menu options depend on the item
> > > currently
> > > > > selected in the Launch view. The 'step' options are available only
> for
> > > > > threads or stack frames.
> > > > > The variables view displays the content of the currently selected
> > stack
> > > > > frame. If no stack frame is selected it is empty.
> > > > > To add an expression to the Expression view use the 'Add C/C++
> > > Expression'
> > > > > option of the editor's context menu. It is enabled only if your
> debug
> > > > > session is running.
> > > >
> > > > there's only three lines in the launch view:
> > > > +---------------------------------------------------
> > > > +--Helloworld Program[C/C++ local]
> > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > +---------------------------------------------------
> > > > no matter which one I select,the step is not available.Then I try
> > minGW's
> > > > gdb,and steping/printing variable is successful in the command
> > line.That's
> > > > why i think maybe it's problem between Eclipse's debugger and GDB.
> > > >
> > >
> > > Is the 'Show Debugger Console' option of the Launch view context menu
> > > enabled? If so, check it and the console will show the output from
gdb.
> > > Check also the '.log' file. It is located in <Eclipse
> > > directory>\workspace\.metadata.
> > >
> > > > > > I just make the helloworld program as my test case,still
> > failed.Does
> > > it
> > > > > > mean CDT gets problems with GDB?I've upgraded the default GDB of
> > minGW
> > > > > > into GDB v5.2.1 already.
> > > > > >
> > > > > > thanks a lot in advance.
> > > > > >
> > > > > > xusoo
> > > > > >
> > > >
> > > > > Mikhail
> > > >
> > > >
> > > > thanks
> > > >
> > > > Regards,
> > > > xusoo
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56192 is a reply to message #56171] Thu, 02 January 2003 20:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Can you check if the 'Load shared library symbols automatically' option is
set? Open the launch configuration page and select the 'Debugger' tab.

"Michael" <bangham@neocera.com> wrote in message
news:av24gu$23o$1@rogue.oti.com...
> The "show debugger console" option is also disabled. My log file has the
> following entry:
>
> !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> context.
> !STACK 0
> org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> current context.
> at
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> ava:100)
> at
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> va:28)
> at
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> va:44)
> at
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> BDebugger.java:29)
> at
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> alCLaunchConfigurationDelegate.java:84)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> on.java:136)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> $10.run(LaunchConfigurationDialog.java:2299)
> at
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> .java:98)
>
> Thanks, Mike
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:av22pl$b23$1@rogue.oti.com...
> >
> > "Michael" <bangham@neocera.com> wrote in message
> > news:av21qd$tal$1@rogue.oti.com...
> > > I'm wrestling with this same problem - where is the "Launch View"? it
is
> > not
> > > listed under my Window->Show View message bar.
> > >
> >
> > It's the 'Debug' view. 'LaunchView' is the name of the class that
> implements
> > this view. Sorry for that.
> >
> > > thanks, mike
> > >
> > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > news:av1pfd$ob5$1@rogue.oti.com...
> > > >
> > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > Mikhail Khodjaiants wrote:
> > > > > Hi,
> > > > >
> > > > > > Hi,
> > > > >
> > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > Hi,
> > > > > > > I'm using
> 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > CDT
> > > > can
> > > > > > > work when I compile code,run code.But once I launch debugging
> > > session
> > > > > > > after I set breakpoint,the 'step in/over/return' button's
color
> > > turns
> > > > > > > grey.Actually I can't use any functionalities in debugging
> > mode,for
> > > > > > > instance:there's nothing in variables/memory/expressions
views.
> > > > >
> > > > > > Can you describe what you see in the Launch view?
> > > > > > The availability of the debugger's menu options depend on the
item
> > > > currently
> > > > > > selected in the Launch view. The 'step' options are available
only
> > for
> > > > > > threads or stack frames.
> > > > > > The variables view displays the content of the currently
selected
> > > stack
> > > > > > frame. If no stack frame is selected it is empty.
> > > > > > To add an expression to the Expression view use the 'Add C/C++
> > > > Expression'
> > > > > > option of the editor's context menu. It is enabled only if your
> > debug
> > > > > > session is running.
> > > > >
> > > > > there's only three lines in the launch view:
> > > > > +---------------------------------------------------
> > > > > +--Helloworld Program[C/C++ local]
> > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > +---------------------------------------------------
> > > > > no matter which one I select,the step is not available.Then I try
> > > minGW's
> > > > > gdb,and steping/printing variable is successful in the command
> > > line.That's
> > > > > why i think maybe it's problem between Eclipse's debugger and GDB.
> > > > >
> > > >
> > > > Is the 'Show Debugger Console' option of the Launch view context
menu
> > > > enabled? If so, check it and the console will show the output from
> gdb.
> > > > Check also the '.log' file. It is located in <Eclipse
> > > > directory>\workspace\.metadata.
> > > >
> > > > > > > I just make the helloworld program as my test case,still
> > > failed.Does
> > > > it
> > > > > > > mean CDT gets problems with GDB?I've upgraded the default GDB
of
> > > minGW
> > > > > > > into GDB v5.2.1 already.
> > > > > > >
> > > > > > > thanks a lot in advance.
> > > > > > >
> > > > > > > xusoo
> > > > > > >
> > > > >
> > > > > > Mikhail
> > > > >
> > > > >
> > > > > thanks
> > > > >
> > > > > Regards,
> > > > > xusoo
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56291 is a reply to message #56171] Thu, 02 January 2003 20:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Please, try this:
1. start gdb with '-i mi' option
2. type '-gdb-set auto-solib-add off' and press Enter

"Michael" <bangham@neocera.com> wrote in message
news:av24gu$23o$1@rogue.oti.com...
> The "show debugger console" option is also disabled. My log file has the
> following entry:
>
> !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> context.
> !STACK 0
> org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> current context.
> at
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> ava:100)
> at
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> va:28)
> at
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> va:44)
> at
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> BDebugger.java:29)
> at
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> alCLaunchConfigurationDelegate.java:84)
> at
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> on.java:136)
> at
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> $10.run(LaunchConfigurationDialog.java:2299)
> at
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> .java:98)
>
> Thanks, Mike
>
> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:av22pl$b23$1@rogue.oti.com...
> >
> > "Michael" <bangham@neocera.com> wrote in message
> > news:av21qd$tal$1@rogue.oti.com...
> > > I'm wrestling with this same problem - where is the "Launch View"? it
is
> > not
> > > listed under my Window->Show View message bar.
> > >
> >
> > It's the 'Debug' view. 'LaunchView' is the name of the class that
> implements
> > this view. Sorry for that.
> >
> > > thanks, mike
> > >
> > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > news:av1pfd$ob5$1@rogue.oti.com...
> > > >
> > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > Mikhail Khodjaiants wrote:
> > > > > Hi,
> > > > >
> > > > > > Hi,
> > > > >
> > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > Hi,
> > > > > > > I'm using
> 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > CDT
> > > > can
> > > > > > > work when I compile code,run code.But once I launch debugging
> > > session
> > > > > > > after I set breakpoint,the 'step in/over/return' button's
color
> > > turns
> > > > > > > grey.Actually I can't use any functionalities in debugging
> > mode,for
> > > > > > > instance:there's nothing in variables/memory/expressions
views.
> > > > >
> > > > > > Can you describe what you see in the Launch view?
> > > > > > The availability of the debugger's menu options depend on the
item
> > > > currently
> > > > > > selected in the Launch view. The 'step' options are available
only
> > for
> > > > > > threads or stack frames.
> > > > > > The variables view displays the content of the currently
selected
> > > stack
> > > > > > frame. If no stack frame is selected it is empty.
> > > > > > To add an expression to the Expression view use the 'Add C/C++
> > > > Expression'
> > > > > > option of the editor's context menu. It is enabled only if your
> > debug
> > > > > > session is running.
> > > > >
> > > > > there's only three lines in the launch view:
> > > > > +---------------------------------------------------
> > > > > +--Helloworld Program[C/C++ local]
> > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > +---------------------------------------------------
> > > > > no matter which one I select,the step is not available.Then I try
> > > minGW's
> > > > > gdb,and steping/printing variable is successful in the command
> > > line.That's
> > > > > why i think maybe it's problem between Eclipse's debugger and GDB.
> > > > >
> > > >
> > > > Is the 'Show Debugger Console' option of the Launch view context
menu
> > > > enabled? If so, check it and the console will show the output from
> gdb.
> > > > Check also the '.log' file. It is located in <Eclipse
> > > > directory>\workspace\.metadata.
> > > >
> > > > > > > I just make the helloworld program as my test case,still
> > > failed.Does
> > > > it
> > > > > > > mean CDT gets problems with GDB?I've upgraded the default GDB
of
> > > minGW
> > > > > > > into GDB v5.2.1 already.
> > > > > > >
> > > > > > > thanks a lot in advance.
> > > > > > >
> > > > > > > xusoo
> > > > > > >
> > > > >
> > > > > > Mikhail
> > > > >
> > > > >
> > > > > thanks
> > > > >
> > > > > Regards,
> > > > > xusoo
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56322 is a reply to message #56192] Fri, 03 January 2003 00:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bangham.neocera.com

It is not checked - if I check it, an exception is raised "no symbol auto in
current context"

"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:av26uo$rc5$1@rogue.oti.com...
> Can you check if the 'Load shared library symbols automatically' option is
> set? Open the launch configuration page and select the 'Debugger' tab.
>
> "Michael" <bangham@neocera.com> wrote in message
> news:av24gu$23o$1@rogue.oti.com...
> > The "show debugger console" option is also disabled. My log file has
the
> > following entry:
> >
> > !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> > !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> > context.
> > !STACK 0
> > org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> > current context.
> > at
> >
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> > ava:100)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> > va:28)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> > va:44)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> > BDebugger.java:29)
> > at
> >
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > alCLaunchConfigurationDelegate.java:84)
> > at
> >
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > on.java:136)
> > at
> >
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> > $10.run(LaunchConfigurationDialog.java:2299)
> > at
> >
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> > .java:98)
> >
> > Thanks, Mike
> >
> > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > news:av22pl$b23$1@rogue.oti.com...
> > >
> > > "Michael" <bangham@neocera.com> wrote in message
> > > news:av21qd$tal$1@rogue.oti.com...
> > > > I'm wrestling with this same problem - where is the "Launch View"?
it
> is
> > > not
> > > > listed under my Window->Show View message bar.
> > > >
> > >
> > > It's the 'Debug' view. 'LaunchView' is the name of the class that
> > implements
> > > this view. Sorry for that.
> > >
> > > > thanks, mike
> > > >
> > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > news:av1pfd$ob5$1@rogue.oti.com...
> > > > >
> > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > > Mikhail Khodjaiants wrote:
> > > > > > Hi,
> > > > > >
> > > > > > > Hi,
> > > > > >
> > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > > Hi,
> > > > > > > > I'm using
> > 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > > CDT
> > > > > can
> > > > > > > > work when I compile code,run code.But once I launch
debugging
> > > > session
> > > > > > > > after I set breakpoint,the 'step in/over/return' button's
> color
> > > > turns
> > > > > > > > grey.Actually I can't use any functionalities in debugging
> > > mode,for
> > > > > > > > instance:there's nothing in variables/memory/expressions
> views.
> > > > > >
> > > > > > > Can you describe what you see in the Launch view?
> > > > > > > The availability of the debugger's menu options depend on the
> item
> > > > > currently
> > > > > > > selected in the Launch view. The 'step' options are available
> only
> > > for
> > > > > > > threads or stack frames.
> > > > > > > The variables view displays the content of the currently
> selected
> > > > stack
> > > > > > > frame. If no stack frame is selected it is empty.
> > > > > > > To add an expression to the Expression view use the 'Add C/C++
> > > > > Expression'
> > > > > > > option of the editor's context menu. It is enabled only if
your
> > > debug
> > > > > > > session is running.
> > > > > >
> > > > > > there's only three lines in the launch view:
> > > > > > +---------------------------------------------------
> > > > > > +--Helloworld Program[C/C++ local]
> > > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > > +---------------------------------------------------
> > > > > > no matter which one I select,the step is not available.Then I
try
> > > > minGW's
> > > > > > gdb,and steping/printing variable is successful in the command
> > > > line.That's
> > > > > > why i think maybe it's problem between Eclipse's debugger and
GDB.
> > > > > >
> > > > >
> > > > > Is the 'Show Debugger Console' option of the Launch view context
> menu
> > > > > enabled? If so, check it and the console will show the output from
> > gdb.
> > > > > Check also the '.log' file. It is located in <Eclipse
> > > > > directory>\workspace\.metadata.
> > > > >
> > > > > > > > I just make the helloworld program as my test case,still
> > > > failed.Does
> > > > > it
> > > > > > > > mean CDT gets problems with GDB?I've upgraded the default
GDB
> of
> > > > minGW
> > > > > > > > into GDB v5.2.1 already.
> > > > > > > >
> > > > > > > > thanks a lot in advance.
> > > > > > > >
> > > > > > > > xusoo
> > > > > > > >
> > > > > >
> > > > > > > Mikhail
> > > > > >
> > > > > >
> > > > > > thanks
> > > > > >
> > > > > > Regards,
> > > > > > xusoo
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56338 is a reply to message #56291] Fri, 03 January 2003 00:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bangham.neocera.com

The response is:
&"Not symbol table is loaded. Use the \"file\" command. \n"


"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:av27gu$rob$1@rogue.oti.com...
> Please, try this:
> 1. start gdb with '-i mi' option
> 2. type '-gdb-set auto-solib-add off' and press Enter
>
> "Michael" <bangham@neocera.com> wrote in message
> news:av24gu$23o$1@rogue.oti.com...
> > The "show debugger console" option is also disabled. My log file has
the
> > following entry:
> >
> > !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> > !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> > context.
> > !STACK 0
> > org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> > current context.
> > at
> >
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> > ava:100)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> > va:28)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> > va:44)
> > at
> >
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> > BDebugger.java:29)
> > at
> >
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > alCLaunchConfigurationDelegate.java:84)
> > at
> >
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > on.java:136)
> > at
> >
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> > $10.run(LaunchConfigurationDialog.java:2299)
> > at
> >
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> > .java:98)
> >
> > Thanks, Mike
> >
> > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > news:av22pl$b23$1@rogue.oti.com...
> > >
> > > "Michael" <bangham@neocera.com> wrote in message
> > > news:av21qd$tal$1@rogue.oti.com...
> > > > I'm wrestling with this same problem - where is the "Launch View"?
it
> is
> > > not
> > > > listed under my Window->Show View message bar.
> > > >
> > >
> > > It's the 'Debug' view. 'LaunchView' is the name of the class that
> > implements
> > > this view. Sorry for that.
> > >
> > > > thanks, mike
> > > >
> > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > news:av1pfd$ob5$1@rogue.oti.com...
> > > > >
> > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > > Mikhail Khodjaiants wrote:
> > > > > > Hi,
> > > > > >
> > > > > > > Hi,
> > > > > >
> > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > > Hi,
> > > > > > > > I'm using
> > 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > > CDT
> > > > > can
> > > > > > > > work when I compile code,run code.But once I launch
debugging
> > > > session
> > > > > > > > after I set breakpoint,the 'step in/over/return' button's
> color
> > > > turns
> > > > > > > > grey.Actually I can't use any functionalities in debugging
> > > mode,for
> > > > > > > > instance:there's nothing in variables/memory/expressions
> views.
> > > > > >
> > > > > > > Can you describe what you see in the Launch view?
> > > > > > > The availability of the debugger's menu options depend on the
> item
> > > > > currently
> > > > > > > selected in the Launch view. The 'step' options are available
> only
> > > for
> > > > > > > threads or stack frames.
> > > > > > > The variables view displays the content of the currently
> selected
> > > > stack
> > > > > > > frame. If no stack frame is selected it is empty.
> > > > > > > To add an expression to the Expression view use the 'Add C/C++
> > > > > Expression'
> > > > > > > option of the editor's context menu. It is enabled only if
your
> > > debug
> > > > > > > session is running.
> > > > > >
> > > > > > there's only three lines in the launch view:
> > > > > > +---------------------------------------------------
> > > > > > +--Helloworld Program[C/C++ local]
> > > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > > +---------------------------------------------------
> > > > > > no matter which one I select,the step is not available.Then I
try
> > > > minGW's
> > > > > > gdb,and steping/printing variable is successful in the command
> > > > line.That's
> > > > > > why i think maybe it's problem between Eclipse's debugger and
GDB.
> > > > > >
> > > > >
> > > > > Is the 'Show Debugger Console' option of the Launch view context
> menu
> > > > > enabled? If so, check it and the console will show the output from
> > gdb.
> > > > > Check also the '.log' file. It is located in <Eclipse
> > > > > directory>\workspace\.metadata.
> > > > >
> > > > > > > > I just make the helloworld program as my test case,still
> > > > failed.Does
> > > > > it
> > > > > > > > mean CDT gets problems with GDB?I've upgraded the default
GDB
> of
> > > > minGW
> > > > > > > > into GDB v5.2.1 already.
> > > > > > > >
> > > > > > > > thanks a lot in advance.
> > > > > > > >
> > > > > > > > xusoo
> > > > > > > >
> > > > > >
> > > > > > > Mikhail
> > > > > >
> > > > > >
> > > > > > thanks
> > > > > >
> > > > > > Regards,
> > > > > > xusoo
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56396 is a reply to message #56291] Fri, 03 January 2003 08:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: javacard.hotmail.com

same phenomena as yours,waiting for response.

regards,
xusoo

Mikhail Khodjaiants wrote:

> Please, try this:
> 1. start gdb with '-i mi' option
> 2. type '-gdb-set auto-solib-add off' and press Enter

> "Michael" <bangham@neocera.com> wrote in message
> news:av24gu$23o$1@rogue.oti.com...
> > The "show debugger console" option is also disabled. My log file has the
> > following entry:
> >
> > !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> > !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> > context.
> > !STACK 0
> > org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> > current context.
> > at
> >
> org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> > ava:100)
> > at
> >
> org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> > va:28)
> > at
> >
> org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> > va:44)
> > at
> >
> org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> > BDebugger.java:29)
> > at
> >
> org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > alCLaunchConfigurationDelegate.java:84)
> > at
> >
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > on.java:136)
> > at
> >
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> > $10.run(LaunchConfigurationDialog.java:2299)
> > at
> >
> org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> > .java:98)
> >
> > Thanks, Mike
> >
> > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > news:av22pl$b23$1@rogue.oti.com...
> > >
> > > "Michael" <bangham@neocera.com> wrote in message
> > > news:av21qd$tal$1@rogue.oti.com...
> > > > I'm wrestling with this same problem - where is the "Launch View"? it
> is
> > > not
> > > > listed under my Window->Show View message bar.
> > > >
> > >
> > > It's the 'Debug' view. 'LaunchView' is the name of the class that
> > implements
> > > this view. Sorry for that.
> > >
> > > > thanks, mike
> > > >
> > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > news:av1pfd$ob5$1@rogue.oti.com...
> > > > >
> > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > > Mikhail Khodjaiants wrote:
> > > > > > Hi,
> > > > > >
> > > > > > > Hi,
> > > > > >
> > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > > Hi,
> > > > > > > > I'm using
> > 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > > CDT
> > > > > can
> > > > > > > > work when I compile code,run code.But once I launch debugging
> > > > session
> > > > > > > > after I set breakpoint,the 'step in/over/return' button's
> color
> > > > turns
> > > > > > > > grey.Actually I can't use any functionalities in debugging
> > > mode,for
> > > > > > > > instance:there's nothing in variables/memory/expressions
> views.
> > > > > >
> > > > > > > Can you describe what you see in the Launch view?
> > > > > > > The availability of the debugger's menu options depend on the
> item
> > > > > currently
> > > > > > > selected in the Launch view. The 'step' options are available
> only
> > > for
> > > > > > > threads or stack frames.
> > > > > > > The variables view displays the content of the currently
> selected
> > > > stack
> > > > > > > frame. If no stack frame is selected it is empty.
> > > > > > > To add an expression to the Expression view use the 'Add C/C++
> > > > > Expression'
> > > > > > > option of the editor's context menu. It is enabled only if your
> > > debug
> > > > > > > session is running.
> > > > > >
> > > > > > there's only three lines in the launch view:
> > > > > > +---------------------------------------------------
> > > > > > +--Helloworld Program[C/C++ local]
> > > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > > +---------------------------------------------------
> > > > > > no matter which one I select,the step is not available.Then I try
> > > > minGW's
> > > > > > gdb,and steping/printing variable is successful in the command
> > > > line.That's
> > > > > > why i think maybe it's problem between Eclipse's debugger and GDB.
> > > > > >
> > > > >
> > > > > Is the 'Show Debugger Console' option of the Launch view context
> menu
> > > > > enabled? If so, check it and the console will show the output from
> > gdb.
> > > > > Check also the '.log' file. It is located in <Eclipse
> > > > > directory>\workspace\.metadata.
> > > > >
> > > > > > > > I just make the helloworld program as my test case,still
> > > > failed.Does
> > > > > it
> > > > > > > > mean CDT gets problems with GDB?I've upgraded the default GDB
> of
> > > > minGW
> > > > > > > > into GDB v5.2.1 already.
> > > > > > > >
> > > > > > > > thanks a lot in advance.
> > > > > > > >
> > > > > > > > xusoo
> > > > > > > >
> > > > > >
> > > > > > > Mikhail
> > > > > >
> > > > > >
> > > > > > thanks
> > > > > >
> > > > > > Regards,
> > > > > > xusoo
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
Re: problem with step over debugging [message #56504 is a reply to message #56322] Fri, 03 January 2003 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

"Michael" <bangham@neocera.com> wrote in message
news:av2k66$2rc$1@rogue.oti.com...
> It is not checked - if I check it, an exception is raised "no symbol auto
in
> current context"
>


What happens if it's unchecked? As I see from the trace the debugger calls
setAutoSolib(). It is possible that minGW doesn't support this feature.

> "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> news:av26uo$rc5$1@rogue.oti.com...
> > Can you check if the 'Load shared library symbols automatically' option
is
> > set? Open the launch configuration page and select the 'Debugger' tab.
> >
> > "Michael" <bangham@neocera.com> wrote in message
> > news:av24gu$23o$1@rogue.oti.com...
> > > The "show debugger console" option is also disabled. My log file has
> the
> > > following entry:
> > >
> > > !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> > > !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> > > context.
> > > !STACK 0
> > > org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto" in
> > > current context.
> > > at
> > >
> >
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> > > ava:100)
> > > at
> > >
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> > > va:28)
> > > at
> > >
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> > > va:44)
> > > at
> > >
> >
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> > > BDebugger.java:29)
> > > at
> > >
> >
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > > alCLaunchConfigurationDelegate.java:84)
> > > at
> > >
> >
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > > on.java:136)
> > > at
> > >
> >
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> > > $10.run(LaunchConfigurationDialog.java:2299)
> > > at
> > >
> >
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> > > .java:98)
> > >
> > > Thanks, Mike
> > >
> > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > news:av22pl$b23$1@rogue.oti.com...
> > > >
> > > > "Michael" <bangham@neocera.com> wrote in message
> > > > news:av21qd$tal$1@rogue.oti.com...
> > > > > I'm wrestling with this same problem - where is the "Launch View"?
> it
> > is
> > > > not
> > > > > listed under my Window->Show View message bar.
> > > > >
> > > >
> > > > It's the 'Debug' view. 'LaunchView' is the name of the class that
> > > implements
> > > > this view. Sorry for that.
> > > >
> > > > > thanks, mike
> > > > >
> > > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > > news:av1pfd$ob5$1@rogue.oti.com...
> > > > > >
> > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > > > Mikhail Khodjaiants wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > > Hi,
> > > > > > >
> > > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > > > Hi,
> > > > > > > > > I'm using
> > > 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > > > CDT
> > > > > > can
> > > > > > > > > work when I compile code,run code.But once I launch
> debugging
> > > > > session
> > > > > > > > > after I set breakpoint,the 'step in/over/return' button's
> > color
> > > > > turns
> > > > > > > > > grey.Actually I can't use any functionalities in debugging
> > > > mode,for
> > > > > > > > > instance:there's nothing in variables/memory/expressions
> > views.
> > > > > > >
> > > > > > > > Can you describe what you see in the Launch view?
> > > > > > > > The availability of the debugger's menu options depend on
the
> > item
> > > > > > currently
> > > > > > > > selected in the Launch view. The 'step' options are
available
> > only
> > > > for
> > > > > > > > threads or stack frames.
> > > > > > > > The variables view displays the content of the currently
> > selected
> > > > > stack
> > > > > > > > frame. If no stack frame is selected it is empty.
> > > > > > > > To add an expression to the Expression view use the 'Add
C/C++
> > > > > > Expression'
> > > > > > > > option of the editor's context menu. It is enabled only if
> your
> > > > debug
> > > > > > > > session is running.
> > > > > > >
> > > > > > > there's only three lines in the launch view:
> > > > > > > +---------------------------------------------------
> > > > > > > +--Helloworld Program[C/C++ local]
> > > > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > > > +---------------------------------------------------
> > > > > > > no matter which one I select,the step is not available.Then I
> try
> > > > > minGW's
> > > > > > > gdb,and steping/printing variable is successful in the command
> > > > > line.That's
> > > > > > > why i think maybe it's problem between Eclipse's debugger and
> GDB.
> > > > > > >
> > > > > >
> > > > > > Is the 'Show Debugger Console' option of the Launch view context
> > menu
> > > > > > enabled? If so, check it and the console will show the output
from
> > > gdb.
> > > > > > Check also the '.log' file. It is located in <Eclipse
> > > > > > directory>\workspace\.metadata.
> > > > > >
> > > > > > > > > I just make the helloworld program as my test case,still
> > > > > failed.Does
> > > > > > it
> > > > > > > > > mean CDT gets problems with GDB?I've upgraded the default
> GDB
> > of
> > > > > minGW
> > > > > > > > > into GDB v5.2.1 already.
> > > > > > > > >
> > > > > > > > > thanks a lot in advance.
> > > > > > > > >
> > > > > > > > > xusoo
> > > > > > > > >
> > > > > > >
> > > > > > > > Mikhail
> > > > > > >
> > > > > > >
> > > > > > > thanks
> > > > > > >
> > > > > > > Regards,
> > > > > > > xusoo
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: problem with step over debugging [message #56533 is a reply to message #56504] Fri, 03 January 2003 18:17 Go to previous message
Eclipse UserFriend
Originally posted by: bangham.neocera.com

Is there any type of documentation that describes how to get gdb, gcc and
eclipse to work well together? I tried Cygwin because that was recommended
in a previous post. I'm running Win2K - surely, this is an often used
combination that many others have gotten to work?

Thanks, Mike

"Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
news:av4cku$u1r$1@rogue.oti.com...
>
> "Michael" <bangham@neocera.com> wrote in message
> news:av2k66$2rc$1@rogue.oti.com...
> > It is not checked - if I check it, an exception is raised "no symbol
auto
> in
> > current context"
> >
>
>
> What happens if it's unchecked? As I see from the trace the debugger calls
> setAutoSolib(). It is possible that minGW doesn't support this feature.
>
> > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > news:av26uo$rc5$1@rogue.oti.com...
> > > Can you check if the 'Load shared library symbols automatically'
option
> is
> > > set? Open the launch configuration page and select the 'Debugger' tab.
> > >
> > > "Michael" <bangham@neocera.com> wrote in message
> > > news:av24gu$23o$1@rogue.oti.com...
> > > > The "show debugger console" option is also disabled. My log file
has
> > the
> > > > following entry:
> > > >
> > > > !ENTRY org.eclipse.cdt.launch 4 150 Dec 27, 2002 17:32:37.359
> > > > !MESSAGE Failed Launching CDI Debugger : No symbol "auto" in current
> > > > context.
> > > > !STACK 0
> > > > org.eclipse.cdt.debug.mi.core.cdi.MI2CDIException: No symbol "auto"
in
> > > > current context.
> > > > at
> > > >
> > >
> >
>
org.eclipse.cdt.debug.mi.core.cdi.SourceManager.setAutoSolib (SourceManager.j
> > > > ava:100)
> > > > at
> > > >
> > >
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.initializeLibrarie s(GDBDebugger.ja
> > > > va:28)
> > > > at
> > > >
> > >
> >
>
org.eclipse.cdt.debug.mi.core.GDBDebugger.createLaunchSessio n(GDBDebugger.ja
> > > > va:44)
> > > > at
> > > >
> > >
> >
>
org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger.createLaunch Session(CygwinGD
> > > > BDebugger.java:29)
> > > > at
> > > >
> > >
> >
>
org.eclipse.cdt.launch.internal.LocalCLaunchConfigurationDel egate.launch(Loc
> > > > alCLaunchConfigurationDelegate.java:84)
> > > > at
> > > >
> > >
> >
>
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
> > > > on.java:136)
> > > > at
> > > >
> > >
> >
>
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationDialog
> > > > $10.run(LaunchConfigurationDialog.java:2299)
> > > > at
> > > >
> > >
> >
>
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext
> > > > .java:98)
> > > >
> > > > Thanks, Mike
> > > >
> > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > news:av22pl$b23$1@rogue.oti.com...
> > > > >
> > > > > "Michael" <bangham@neocera.com> wrote in message
> > > > > news:av21qd$tal$1@rogue.oti.com...
> > > > > > I'm wrestling with this same problem - where is the "Launch
View"?
> > it
> > > is
> > > > > not
> > > > > > listed under my Window->Show View message bar.
> > > > > >
> > > > >
> > > > > It's the 'Debug' view. 'LaunchView' is the name of the class that
> > > > implements
> > > > > this view. Sorry for that.
> > > > >
> > > > > > thanks, mike
> > > > > >
> > > > > > "Mikhail Khodjaiants" <mikhailk@qnx.com> wrote in message
> > > > > > news:av1pfd$ob5$1@rogue.oti.com...
> > > > > > >
> > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > news:av0g9b$662$1@rogue.oti.com...
> > > > > > > > Mikhail Khodjaiants wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > > Hi,
> > > > > > > >
> > > > > > > > > "xusoo" <javacard@hotmail.com> wrote in message
> > > > > > > > > news:auuqai$k9b$1@rogue.oti.com...
> > > > > > > > > > Hi,
> > > > > > > > > > I'm using
> > > > 'cdt-200212181146-win32_1.0.1.bin.dist.zip'.Currently
> > > > > > CDT
> > > > > > > can
> > > > > > > > > > work when I compile code,run code.But once I launch
> > debugging
> > > > > > session
> > > > > > > > > > after I set breakpoint,the 'step in/over/return'
button's
> > > color
> > > > > > turns
> > > > > > > > > > grey.Actually I can't use any functionalities in
debugging
> > > > > mode,for
> > > > > > > > > > instance:there's nothing in variables/memory/expressions
> > > views.
> > > > > > > >
> > > > > > > > > Can you describe what you see in the Launch view?
> > > > > > > > > The availability of the debugger's menu options depend on
> the
> > > item
> > > > > > > currently
> > > > > > > > > selected in the Launch view. The 'step' options are
> available
> > > only
> > > > > for
> > > > > > > > > threads or stack frames.
> > > > > > > > > The variables view displays the content of the currently
> > > selected
> > > > > > stack
> > > > > > > > > frame. If no stack frame is selected it is empty.
> > > > > > > > > To add an expression to the Expression view use the 'Add
> C/C++
> > > > > > > Expression'
> > > > > > > > > option of the editor's context menu. It is enabled only if
> > your
> > > > > debug
> > > > > > > > > session is running.
> > > > > > > >
> > > > > > > > there's only three lines in the launch view:
> > > > > > > > +---------------------------------------------------
> > > > > > > > +--Helloworld Program[C/C++ local]
> > > > > > > > +--GDB Debugger(1/2/03 12:51 PM)
> > > > > > > > +--d:\workspace\testdrv.exe(1/2/03 12:51 PM)
> > > > > > > > +---------------------------------------------------
> > > > > > > > no matter which one I select,the step is not available.Then
I
> > try
> > > > > > minGW's
> > > > > > > > gdb,and steping/printing variable is successful in the
command
> > > > > > line.That's
> > > > > > > > why i think maybe it's problem between Eclipse's debugger
and
> > GDB.
> > > > > > > >
> > > > > > >
> > > > > > > Is the 'Show Debugger Console' option of the Launch view
context
> > > menu
> > > > > > > enabled? If so, check it and the console will show the output
> from
> > > > gdb.
> > > > > > > Check also the '.log' file. It is located in <Eclipse
> > > > > > > directory>\workspace\.metadata.
> > > > > > >
> > > > > > > > > > I just make the helloworld program as my test
case,still
> > > > > > failed.Does
> > > > > > > it
> > > > > > > > > > mean CDT gets problems with GDB?I've upgraded the
default
> > GDB
> > > of
> > > > > > minGW
> > > > > > > > > > into GDB v5.2.1 already.
> > > > > > > > > >
> > > > > > > > > > thanks a lot in advance.
> > > > > > > > > >
> > > > > > > > > > xusoo
> > > > > > > > > >
> > > > > > > >
> > > > > > > > > Mikhail
> > > > > > > >
> > > > > > > >
> > > > > > > > thanks
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > xusoo
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Previous Topic:Using CDT for PalmOS Development
Next Topic:makefile
Goto Forum:
  


Current Time: Sat Dec 21 14:06:16 GMT 2024

Powered by FUDForum. Page generated in 0.04405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top