Hello Esteban and other users-list members,
Yes, I did the same and added some extra cin and cout statements to follow
the code.
What I would like to do is converse with my program for a while until I
reach the point just before it starts to do things I do not want to happen,
and then set a breakpoint and trace the code step by step.
Wobien
----- Original Message -----
From: "Esteban Valverde" <est...@ho...>
To: "Wobien" <wo...@pl...>
Sent: Friday, December 20, 2002 1:53 PM
Subject: Re: [Dev-C++] debugger
> Hi !!! I´ve been the same problems with the dev-cpp debugger. Also, in
some
> cases pc holds !!! By the while, I´m including some cin and cout
statements
> in my code to show variables and messages to can follow the code in the
> running and not in the debugging fase.
>
>
> ----- Original Message -----
> From: "Wobien" <wo...@pl...>
> To: "dev-cpp-users-list" <dev...@li...>
> Sent: Friday, 20 December, 2002 9:46
> Subject: [Dev-C++] debugger
>
>
> I am trying to debug a console program that uses cin and cout statements.
> I am using Dev-Cpp 4.9.7.0 and windows 98.
> When I use the built-in debugger I get a console window, but no input or
> output on this window.
> I found back the output of the cout statements in the debugger output
window
> of Dev-Cpp between the debugger output.
> I have no idea how I can give the input for the cin statements (the
debugger
> seems to pass them without accepting input??)
> How can I send the output of the cout statements to the console window and
> accept input to the cin statements from the console windows?
> Wobien
>
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
> Time is running out! Thinkgeek.com has the coolest gifts for
> your favorite geek. Let your fingers do the typing. Visit Now.
> T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|