Author Topic: debug errors on arrays  (Read 1191 times)

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
debug errors on arrays
« on: 2011-Mar-09 »
would it be possible to show which array has thrown up the error rather than just the following being shown in debug window

Code: (glbasic) [Select]
bounds: [   0]
access: [   0]
bounds: [   0]
access: [   0]

If you have a line with several different arrays being accessed it would save a lot of time if it showed the array name that is causing the problem

Gary

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10746
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: debug errors on arrays
« Reply #1 on: 2011-Mar-09 »
The runtime doe snot know the names. If it would, there would be a memory overhead ... HM....

Offline Gary

  • Dr. Type
  • ****
  • Posts: 313
    • View Profile
Re: debug errors on arrays
« Reply #2 on: 2011-Mar-09 »
ok, thanks for the quick reply, shame though, will just have to make sure everything is spot on first time then :)