- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to get the Eclipse debug console to kick out a CR,LF so I don't have to hit return twice for every prompt?
thanksLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello tns1,
What kind of prompt are you referring to here? By default the debug console is attached to standard in, standard out, and standard error. So printf("\n\r"); will send a carriage return and line feed to the debug console.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think Stephen meant to type printf("\r\n"); which would be more usual.
I hope this stops anyone getting confused. But I think the OP was trying to make the debug console send a CRLF, not the code.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right, just look in hyperterm->properties->settings->ascii setup. Eclipse should have at least three settings:
control of local echo, adding LF to outgoing CR, adding CR to incomming LF.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello TNS1,
Thanks for the clarification. I do not know of another way to make Eclipse do that, but I will add as an enhancement request to our Nios II product marketing team to add this feature to Nios II IDE.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page