Problems with the .Net C++ debugger

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DeepT

    Problems with the .Net C++ debugger

    I tried something simple which the debugger keeps choking on that is like this.

    Start a new empty C++ project.

    char MyArray[3][3];

    void main(void)
    {
    MyArray[2][0] = 'C';
    MyArray[0][1] = 'A';
    }

    Compile this, then put a break point on the MyArray[0][1] assignment line
    In the dugger, try and look at the value of MyArray[2][0] in the debugger. It tells you that the indexes are out of bounds, even though it just assigned them a value. Is this a bug or do I need to change the configuration of something?
    -- DeepT
Working...