Can't read STDIN in the debugger

jbb jbb at ihug.co.nz
Thu May 4 20:54:46 BST 2000


On Fri, 05 May 2000, you wrote:
> Hi,
> 
> I asked this already some days ago but none answered up to now. So please
> can anyone tell me how I can read something from stdin when I use the
> internal debugger of KDevelop? I currently upgraded to KDevelop 1.2 and
> tried a very simple example: create a simple C Terminal application with
> the AppWizard and add a line which reads from stdin and then prints out
> what it has read (e.g. a scanf followed by a printf). From a terminal
> window the program executes as expected. But where do I have to type my
> input when I start the program from the KDevelop internal debugger?

Check the following option in 1.2
Options/Kdevelop Setup/Debugger/Enable separate terminal for application i/o

It'll give a separate konsole window where the application's stdin, stdout and
stderr is routed.

Have fun!

-- 
Regards,

jbb
http://homepages.ihug.co.nz/~jbb
ICQ: 60412209




More information about the KDevelop mailing list