Debug
Posted on February 2, 2022
Tags: softdev
1 Stack trace
If you program hits an exception typically a stack trace gets printed.
Stack trace is the set of functions/modules that were previously called that lead up to the exception.
2 Unit testing
2.1 Test Object initialization
@TestCarGasInitTest(){
test = new Car();
Car assertEq(0,Car.gas);
}