Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » "Global" refresh
"Global" refresh [message #116067] Wed, 18 August 2004 07:26 Go to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

Hi

I know that eclipse assumes that the target is completely halted if one
thread is stopped. But it doesn't need to be so in a embedded system. Is
there a possibility to invoke a refresh of all values (memory, registers,
variables etc)? Together with a timer this could be used to continuously
show the state of the target, no matter how many threads are stopped or
running.

Thanks

bye Fabi
Re: "Global" refresh [message #116095 is a reply to message #116067] Wed, 18 August 2004 10:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Do you mean the tracing support?

"Fabi" <cenedese@nospam.indel.ch> wrote in message
news:cfvedu$fjh$1@eclipse.org...
> Hi
>
> I know that eclipse assumes that the target is completely halted if one
> thread is stopped. But it doesn't need to be so in a embedded system. Is
> there a possibility to invoke a refresh of all values (memory, registers,
> variables etc)? Together with a timer this could be used to continuously
> show the state of the target, no matter how many threads are stopped or
> running.
>
> Thanks
>
> bye Fabi
>
>
Re: "Global" refresh [message #116107 is a reply to message #116067] Wed, 18 August 2004 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Do you mean the tracing support?

"Fabi" <cenedese@nospam.indel.ch> wrote in message
news:cfvedu$fjh$1@eclipse.org...
> Hi
>
> I know that eclipse assumes that the target is completely halted if one
> thread is stopped. But it doesn't need to be so in a embedded system. Is
> there a possibility to invoke a refresh of all values (memory, registers,
> variables etc)? Together with a timer this could be used to continuously
> show the state of the target, no matter how many threads are stopped or
> running.
>
> Thanks
>
> bye Fabi
>
>
Re: "Global" refresh [message #116120 is a reply to message #116067] Wed, 18 August 2004 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Do you mean the tracing support?

"Fabi" <cenedese@nospam.indel.ch> wrote in message
news:cfvedu$fjh$1@eclipse.org...
> Hi
>
> I know that eclipse assumes that the target is completely halted if one
> thread is stopped. But it doesn't need to be so in a embedded system. Is
> there a possibility to invoke a refresh of all values (memory, registers,
> variables etc)? Together with a timer this could be used to continuously
> show the state of the target, no matter how many threads are stopped or
> running.
>
> Thanks
>
> bye Fabi
>
>
Re: "Global" refresh [message #116133 is a reply to message #116120] Wed, 18 August 2004 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> > I know that eclipse assumes that the target is completely halted if one
> > thread is stopped. But it doesn't need to be so in a embedded system. Is
> > there a possibility to invoke a refresh of all values (memory, registers,
> > variables etc)? Together with a timer this could be used to continuously
> > show the state of the target, no matter how many threads are stopped or
> > running.

> Do you mean the tracing support?

I don't think so. Tracing support looks like something to debug the
plugins.
But I'm looking for something regular which would be used by the final
application to work with an embedded target. So eclipse/gdb would not only
ask
for registers and stack frames when a thread is stopped but always, like
every
second. To look what the hardware is doing when it is running.

bye Fabi
Re: "Global" refresh [message #116145 is a reply to message #116133] Wed, 18 August 2004 11:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

I was asking about tracing in general, not the plugin tracing. And that's
exactly what you want.
gdb has commands to work with catchpoints and the CDI (the internal debugger
interface of CDT) provides the API to work with it. But as far as I know HP
is the only platform that implements the catchpoints support for gdb.

"Fabi" <cenedese@nospam.indel.ch> wrote in message
news:cfvr2d$84g$1@eclipse.org...
> > > I know that eclipse assumes that the target is completely halted if
one
> > > thread is stopped. But it doesn't need to be so in a embedded system.
Is
> > > there a possibility to invoke a refresh of all values (memory,
registers,
> > > variables etc)? Together with a timer this could be used to
continuously
> > > show the state of the target, no matter how many threads are stopped
or
> > > running.
>
> > Do you mean the tracing support?
>
> I don't think so. Tracing support looks like something to debug the
> plugins.
> But I'm looking for something regular which would be used by the final
> application to work with an embedded target. So eclipse/gdb would not only
> ask
> for registers and stack frames when a thread is stopped but always, like
> every
> second. To look what the hardware is doing when it is running.
>
> bye Fabi
>
>
Re: "Global" refresh [message #116210 is a reply to message #116145] Thu, 19 August 2004 05:39 Go to previous message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> I was asking about tracing in general, not the plugin tracing. And that's
> exactly what you want.
> gdb has commands to work with catchpoints and the CDI (the internal debugger
> interface of CDT) provides the API to work with it. But as far as I know HP
> is the only platform that implements the catchpoints support for gdb.

I still don't think so. Catchpoints stop the target when something special
happens and in so far are just a special kind of breakpoints. What I'm
looking
for is getting data from the target without stopping it, even without it
"knowing" that someone is watching. E.g. a global variable is always at the
same memory location. So even if the target and all threads are running it
should
be possible to watch it continuously. But for this eclipse needs to refresh
also while the target is running and not only if a stop occurs.

Thanks

bye Fabi
Previous Topic:CDT 2.0 on eclipse 3.0 on OSX 10.3.2
Next Topic:archive search directories
Goto Forum:
  


Current Time: Tue Jul 22 08:36:05 EDT 2025

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

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

Back to the top