Strange behaviour

Simen Haugen simen at norstat.no
Thu Jun 7 07:42:54 PDT 2007


I just encountered a strange bug that I'm having problems reproducing as a 
test case.

I used an associative array to store some data lengths, and in my code, I 
was accessing an element not in the array. In debug mode, this code did not 
fire ArrayBoundsError and worked (returning 0 I guess), but in release mode 
it crashed. Any ideas why this might have happend? 




More information about the Digitalmars-d-learn mailing list