Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327153

Summary: Cannot evaluate a C++ bool variable
Product: [Tools] PTP Reporter: Xuan Chen <xuanchen>
Component: Debug SDMAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Xuan Chen CLA 2010-10-06 14:29:23 EDT
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;
}
*************************
Comment 1 Greg Watson CLA 2010-11-13 13:34:23 EST
Fixed in 4.0 and HEAD.