Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.0-rc1
-
macOS 10.12.5
XCode 8.3.1
Description
Compile sample program on macOS, and set a breakpoint where the comment says so.
Start debugging session, observe that reference and pointer types do not show, instead "<not accessible>" is displayed.
#include <string> int main(int argc, char* argv[]) { (void)argc; (void)argv; std::string stdString = "i am std::string"; (void)stdString; std::string &stdStringReference = stdString; (void)stdStringReference; std::string *stdStringPointer = &stdString; std::string *&stdStringPointerReference = stdStringPointer; (void)stdStringPointerReference; int c = 4; // Set breakpoint here. ++c; return 0; }