Pasting text into Debugger Console
Pasting text into Debugger Console
- Subject: Pasting text into Debugger Console
- From: Todd Heberlein <email@hidden>
- Date: Tue, 20 May 2008 11:06:03 -0700
Before I file a bug report, I thought I would ask the community if this is already a well known (and/or fixed issue).
I have a C++ Command Line Utility project under Xcode 3.0. It uses cin and cout for basic text input and output. When running the tool from Xcode, I open the Debugger Console to enter text. Here is the issue: (1) when entering text via the keyboard, everything works fine, but (2) when I paste text in, the text isn't passed into the variable.
For example, if I enter by hand:
/var/audit/20080520170852.not_terminated
every thing works fine. But, if I enter by hand:
/var/audit/
and then paste
20080520170852.not_terminated
to get the exact same line, only "/var/audit/" is read in.
Now, if I use a Terminal window and launch the application via the command line, everything works fine, including entering the text.
Is this a known issue?
Thanks,
Todd
Here is a short simple code to test it yourself:
#include <iostream>
using namespace std;
int main (int argc, char * const argv[]) {
string input_str;
cout << "Enter a string: ";
cin >> input_str;
cout << "You entered: " << input_str << endl;
return 0;
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden