| Summary: | Cannot evaluate a C++ bool variable | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Xuan Chen <xuanchen> |
| Component: | Debug SDM | Assignee: | Greg Watson <g.watson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 5.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in 4.0 and HEAD. |
I got <error(s)_during_the_evaluation>, "Target request failed: Unknown type: "bool" " when trying to evaluate a bool variable for a C++ program. This is the C++ source: ************************ #include <iostream> using namespace std; int main(void) { bool flag = true; cout << "flag is " << flag << endl; flag = false; cout << "now flag is " << flag << endl; return 0; } *************************