Re: [Anjuta-list] An off-topic question about debugging?



Thank you so much! 

Sang Chul

On Fri, 2008-02-08 at 13:56 -0500, Sébastien Granjoux wrote:
> Hi Sang Chul,
> 
> Sang Chul Choi a écrit :
> > When I created dynamically an array of something (e.g., int), sometimes
> > I can only see or watch the first element not further down any other
> > element. I think that I had this experience before when I use GDB. This
> > might be a GDB-related question. Do you know how I can see all other
> > elements other than the first element?
> 
> This is related to GDB. I think you can cast you variable to the type
> you expect. By example inspect (int[10])_your_array_ instead of just
> _your_array_
> 
> Regards,
> 
> Sébastien





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]