CrossStudio and debugging

Started by tomi June 15, 2008
I have question about debugging in CrossStudio.

I would like to change some values in structures and tables during debugging
session.

Is it possible to manually increase/decrease value in table with keys eg.
+/- or others in debugging session ?

Can I load values from file ?

Can you recommend other IDE for ARM with this functionality ?

An Engineer's Guide to the LPC2100 Series

----- Original Message -----
From: "tomi"
To:
Sent: Sunday, June 15, 2008 7:54 PM
Subject: [lpc2000] CrossStudio and debugging
>I have question about debugging in CrossStudio.
>
> I would like to change some values in structures and tables during
> debugging
> session.
>
> Is it possible to manually increase/decrease value in table with keys eg.
> +/- or others in debugging session ?
>
> Can I load values from file ?
>
> Can you recommend other IDE for ARM with this functionality ?

You can't do any of that stuff in CrossStudio. I don't know of any other IDE
with those features.

Leon
> >I have question about debugging in CrossStudio.
> >
> > I would like to change some values in structures and tables during
> > debugging session.
> >
> > Is it possible to manually increase/decrease value in table
> with keys eg.
> > +/- or others in debugging session ?
> >
> > Can I load values from file ?
> >
> > Can you recommend other IDE for ARM with this functionality ?
>
> You can't do any of that stuff in CrossStudio. I don't know
> of any other IDE with those features.
A lot of IDE's I've used allow you to change values during a debug session.
Add the variable to a watch window, then edit the value within the watch
window. Alternatively open a memory window and edit the values directly
there. I'm not sure about CrossStudio without actually running it up now,
but I would be surprised if you could not do this.

Not sure about loading values from a file though.
Regards,
Richard.

+ http://www.FreeRTOS.org
17 official architecture ports, more than 5000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T as meeting the requirements for safety related systems.

----- Original Message -----
From: "FreeRTOS.org Info"
To:
Sent: Sunday, June 15, 2008 8:56 PM
Subject: RE: [lpc2000] CrossStudio and debugging
> >I have question about debugging in CrossStudio.
> >
> > I would like to change some values in structures and tables during
> > debugging session.
> >
> > Is it possible to manually increase/decrease value in table
> with keys eg.
> > +/- or others in debugging session ?
> >
> > Can I load values from file ?
> >
> > Can you recommend other IDE for ARM with this functionality ?
>
> You can't do any of that stuff in CrossStudio. I don't know
> of any other IDE with those features.
A lot of IDE's I've used allow you to change values during a debug session.
Add the variable to a watch window, then edit the value within the watch
window. Alternatively open a memory window and edit the values directly
there. I'm not sure about CrossStudio without actually running it up now,
but I would be surprised if you could not do this.

Not sure about loading values from a file though.
You can change values in CrossStudio whilst debugging, of course. One can't
do any of the other stuff he wanted.

Leon
Leon at al,

> > > Is it possible to manually increase/decrease value in table
> > with keys eg.
> > > +/- or others in debugging session ?
> > >
> > > Can I load values from file ?
> > >
> > > Can you recommend other IDE for ARM with this functionality ?
> >
> > You can't do any of that stuff in CrossStudio. I don't know
> > of any other IDE with those features.
> A lot of IDE's I've used allow you to change values during a debug
> session.
> Add the variable to a watch window, then edit the value within the
> watch
> window. Alternatively open a memory window and edit the values
> directly there. I'm not sure about CrossStudio without actually running
it up
> now, but I would be surprised if you could not do this.
>
> Not sure about loading values from a file though.
>
> You can change values in CrossStudio whilst debugging, of course. One
> can't do any of the other stuff he wanted.

You can right click on any object in a watch/register window and select
Increment or Decrement. We didn't think these were too useful, but as of
now we realise that some customers get used to having things we just never
use ourselves.

As to loading values from a file, you *could* do that using JavaScript, but
I'm just not going to even try to explain how to do it here.

-- Paul.

2008/6/15, Paul Curtis :
>
> Leon at al,
>
> > > > Is it possible to manually increase/decrease value in table
> > > with keys eg.
> > > > +/- or others in debugging session ?
> > > >
> > > > Can I load values from file ?
> > > >
> > > > Can you recommend other IDE for ARM with this functionality ?
> > >
> > > You can't do any of that stuff in CrossStudio. I don't know
> > > of any other IDE with those features.
> >
> >
> > A lot of IDE's I've used allow you to change values during a debug
> > session.
> > Add the variable to a watch window, then edit the value within the
> > watch
> > window. Alternatively open a memory window and edit the values
> > directly there. I'm not sure about CrossStudio without actually running
> it up
> > now, but I would be surprised if you could not do this.
> >
> > Not sure about loading values from a file though.
> >
> > You can change values in CrossStudio whilst debugging, of course. One
> > can't do any of the other stuff he wanted.
>
> You can right click on any object in a watch/register window and select
> Increment or Decrement. We didn't think these were too useful, but as of
> now we realise that some customers get used to having things we just never
> use ourselves.
>
> As to loading values from a file, you *could* do that using JavaScript, but
> I'm just not going to even try to explain how to do it here.
>
> .
>
Thanks, it's working.
I have used Increment/Decrement functions in watch window.

I have unsigned int tab[32], eg. tab[0] = 0x21020010

If I could increment/decrement each byte separately tab[0]=0x 21 02 00 10
with keys eg. +/- or up/down arrow. This will be best solution for me.

Maybe you can consider this proposition ;)