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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -