Code::Blocks Forums
User forums => Help => Topic started by: p30-port on November 19, 2013, 12:57:48 pm
-
Hi
I want to use command debugging in CodeBlocks, but I don't know how??? :-[
In Visual Studio I do this like this ScreenShot:
(http://img.ir/KWrc.png)
Can anyone help me? :P
Thanks
-
What is "command debugging"?
-
Save Inputs in a file and debug the code with those inputs :D
-
Click on Project > Set programs' arguments... menu option. Select Debug target in the next window and add your input to Program arguments: text box.
-
I think op means logging the input from say 'cin' in the first run and then using that logged data on the second run to debug. Some kind of scripted debugging I think. If I got this right, it seems like a cool feature.
-
Can you explain this with an example???? (With ScreenShot plz :P)
For example: Suppose I want to get two Integers and print a%b.