RemedyBG»Forums
Kyle
3 posts
class objects debugging
Edited by Kyle on Reason: Initial post
When hitting break points within class constructors, any class members are shown as "?".

When hitting break points that are in scope of the class object, the debugger shows it as a "class object" but wont show any members and instead shows { ... }.

I am guessing this is intended but wanted to make sure.

Thanks.
311 posts / 1 project
None
class objects debugging
To be frank, I haven't done much testing at all with C++ code. I'll make a note to take a look at this though. Thanks for letting me know.

--
George
Kyle
3 posts
class objects debugging
Edited by Kyle on
Same thing happens if static variables are stored in a namespace.

As an example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
namespace Input
{
    struct input
    {
        key Keys[KeyCount] = {};
        
        int32 MouseX = 0;
        int32 MouseY = 0;
        
        bool bIsBlocked;
    };
  
    static input InternalInput = {};  
};


1
Watching window shows: "identifier 'InternalInput' not found"


This happens even in functions that are in the same namespace.