GLBasic forum

Main forum => GLBasic - en => Topic started by: ynbniar on 2009-Nov-05

Title: DEBUG window and arrays
Post by: ynbniar on 2009-Nov-05
Sorry, this might be a noob question and I did try a search.

During debug I can only see the first 20 members of any arrays in my program no matter how large they are, in the debug window.

Is it possible to see the all the members of an array during debug or is it fixed at 20?
Title: Re: DEBUG window and arrays
Post by: MrTAToad on 2009-Nov-05
It sounds like (if you're not limiting the output yourself) the output window is scrolling too quick to see the output
Title: Re: DEBUG window and arrays
Post by: okee on 2009-Nov-05
maybe output to a text file instead
Title: Re: DEBUG window and arrays
Post by: ynbniar on 2009-Nov-05
Quote from: MrTAToad on 2009-Nov-05
It sounds like (if you're not limiting the output yourself) the output window is scrolling too quick to see the output

Sorry, maybe I didn't describe it properly. Here's an example...

(http://img685.imageshack.us/img685/9509/debug20array.th.jpg) (http://img685.imageshack.us/i/debug20array.jpg/)

The array size is 100 but the debug window is only showing the first 20 members?
Title: Re: DEBUG window and arrays
Post by: MrTAToad on 2009-Nov-05
Ah - yes, I think its limited to 20 in that window.
Title: Re: DEBUG window and arrays
Post by: ynbniar on 2009-Nov-05
Quote from: MrTAToad on 2009-Nov-05
Ah - yes, I think its limited to 20 in that window.

Thought so...I wondered if I was missing something obvious...cheers for the help.
Title: Re: DEBUG window and arrays
Post by: Moru on 2009-Nov-06
You can change the limit in the project options somewhere but be aware that it takes very long to rebuild the list for each step you make in the code.
Title: Re: DEBUG window and arrays
Post by: ynbniar on 2009-Nov-06
Quote from: Moru on 2009-Nov-06
You can change the limit in the project options somewhere but be aware that it takes very long to rebuild the list for each step you make in the code.

So you can...how did I miss that?

Cheers.