When teaching null dereferences, show a call that dereferences a null pointer in a debugger to give students a snapshot of what is happening.
Share When teaching null dereferences, show a call that dereferences a null pointer in a debugger to give students a snapshot of what is happening. with FacebookShare When teaching null dereferences, show a call that dereferences a null pointer in a debugger to give students a snapshot of what is happening. with Twitter
- Make sure students understand when and why something should be null before showing students dereferencing a null pointer in a debugger.
- Seeing the impact of this call can help students understand the impact of null pointers.