|
|
I've been trying to debug for at least 3 days my proejct 12 code. The issue is that locally, everything runs fine in the online ide. I've even included my own classes to the tests, so that no default class is used. The only exception is the String class that throws Runtime error: Invalid stack error if I include my Memory class. Without my implementation of the Memory class it also runs fine.
When submitting to the grader, it says ArrayTest test failure - 'That' segment must be in the Heap or Screen range in Math.init.9 *(-17) - MathTest test failure - 'That' segment must be in the Heap or Screen range in Math.init.9 *(-17) - MemoryTest test failure - 'That' segment must be in the Heap or Screen range in Math.init.9
Which I don't understand as I'm not getting any of these errors in the web ide. Please provide some help to debug what this issue is. I've even printed the different steps of alloc/dealloc to make sure the right values for next and size are placed in the right memory addresses and double checked them on paper and they are right, so I'm completely lost at this
|