AnsweredAssumed Answered

null pointer is dereferenced

Question asked by Aya Serry on Jun 24, 2015
Latest reply on Jul 1, 2015 by ZhangJennie

If an uninitialized pointer or initialized by null pointer is dereferenced, the simulator will continue the execution without firing an error. Is there an option to fire error or crash while trying to execute the line of the dereferencing? 

 

Details: - CodeWarrior HCS12 V4.7- Compiler: chc12 compiler - Linker: linker.exe  - Simulator: hiwave.exe

Outcomes