That's a naive view. Depends who's learning. Is C++ their 5th language and they know how to read resulting assembly? Is it their first experience at 10yo and they're struggling with what variables and types are? Anywhere in between?
Gdb beyond what the learning person can comfortably handle at the time and that's what matters.