Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Debugging console app?
Re: Debugging console app? [message #29033 is a reply to message #21853] |
Sun, 03 October 2010 01:05  |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
kattle87: I would suggest firstly to try Bazaar/UnitTest++, so you can forget about debugging with cin/cout.
For console applications it should be perfect fit on low (unit testing) and medium (basic components integration) level, and even at highest level some tests may make sense (although last time I did console app this way, I simply put all the components together in final main, compiled it, run, and everything worked, so I didn't bother to do high level tests).
If you are unsure what I'm talking about, try to read something about TDD (Test Driven Development).
That way you can debug the code inside test, where you have already input defined, so you don't need cin, but usually if you build the code this way you don't debug. It either does pass the test soon, or when you are stuck, you revert it and start from scratch. Debugging can be much slower.
|
|
|
 |
|
Debugging console app?
|
 |
|
Re: Debugging console app?
By: koldo on Mon, 08 June 2009 13:43
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: mirek on Thu, 11 June 2009 19:23
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: mirek on Fri, 12 June 2009 10:50
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: Goodwin on Sun, 05 July 2009 01:04
|
 |
|
Re: Debugging console app?
By: mirek on Wed, 08 July 2009 13:07
|
 |
|
Re: Debugging console app?
By: mr_ped on Wed, 08 July 2009 13:42
|
 |
|
Re: Debugging console app?
By: avpavp on Wed, 09 June 2010 21:03
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 12:48
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 15:22
|
 |
|
Re: Debugging console app?
|
 |
|
Re: Debugging console app?
By: kattle87 on Sat, 02 October 2010 19:38
|
 |
|
Re: Debugging console app?
By: mr_ped on Sun, 03 October 2010 01:05
|
Goto Forum:
Current Time: Mon Apr 28 06:04:03 CEST 2025
Total time taken to generate the page: 0.04028 seconds
|