Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » can't debug program with scanf
can't debug program with scanf [message #1061554] Sun, 02 June 2013 16:01
Eclipse UserFriend
Hi,

Whenever i come across a scanf function in debug mode, debugger seems to wait for input, but doesn't recognize anything i type into the console window.
I've found several posts mentioning such behaviour, but all said this is an issue when running on windowsand when running on linux, everything should be fine.

I'm running ubuntu 13.04 x64 with eclipse 3.8.1

When running the application, output -after adding setbuf(stdout,NULL)- and input are working fine through the eclipse-integrated console window.
Previous Topic:How to debug C++ library called by JNI wrapper
Next Topic:problem with ECLIPSE
Goto Forum:
  


Current Time: Sat Aug 30 20:02:49 EDT 2025

Powered by FUDForum. Page generated in 0.03057 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top