KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a strange feeling like this is a recent issue and happens on two separate computers. When I'm debugging and trying to look at the value of an std::string from STL, it shows as the value. It says its size is 15 and capacity is some garbled huge number. The array values themselves all say CXX0030: Error: expressions cannot be evaluated. This is extremely frustrating and I can still access the string values while debugging if I call c_str on the string and assign it to a char * or use watch expressions if I need to, but it's very tedious and makes life very hard when debugging complicated problems for 3 days straight. The contents other STL containers show up just fine. This happens on multiple projects on two different computers, and I'm pretty sure I have all debugging options set for the project. No optimizations, and generating debugging info for sure.
Tags (comma-separated)
Save Edits
Cancel