Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327153 - Cannot evaluate a C++ bool variable
Summary: Cannot evaluate a C++ bool variable
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Debug SDM (show other bugs)
Version: 5.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 14:29 EDT by Xuan Chen CLA
Modified: 2010-11-13 13:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.