Fixed Debug functions GetInfo/GetStack + Unit tests.