c++ - Implicit this parameter in GDB -


i'm using clion. how see value of this parameter in gdb? isn't in "variables" section now. i've tried print using "evaluate expression", didn't me, printed {void (my_class * const)} 0x7fff5fbff298.

also, can explain why happening?

well, technically, this pointer object owns it, should regular pointer address points class. it's nothing special.

now, once dereference pointer, referring actual object. should try referencing *this when want print out actual object.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -