Re: [Anjuta-list] An off-topic question about debugging?
- From: Sébastien Granjoux <seb sfo free fr>
- To: Sang Chul Choi <choi biology rutgers edu>
- Cc: Anjuta List <anjuta-list lists sourceforge net>
- Subject: Re: [Anjuta-list] An off-topic question about debugging?
- Date: Fri, 08 Feb 2008 19:56:41 +0100
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]