• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unit testing - printf and gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unit testing - printf and gdb


  • Subject: Unit testing - printf and gdb
  • From: Alan Shouls <email@hidden>
  • Date: Tue, 10 Jun 2008 10:29:16 +0100

Hi,

I have been experimenting with the C++ unit testing that is built into xcode. It is pretty straightforward and works just fine. In test driven development you fully expect to get test failures - which you then debug and fix. And here is my problem

- If I include printf or squirt stuff in cout, when running the tests in xcode, I can't seem to see any output - where does it go? I have optimistically looked at the console in xcode, and in the proper console and can't seem to see anything. My guess is that this is some basic "numpty" error on my part - but I would be happy for a heads up.

- Is it possible to enter into tests in the debugger. I could not see a way to do this - but I would dearly love to set breakpoints and start "mixing it" with the debugger

Best regards

Alan Shouls

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Unit testing - printf and gdb
      • From: Aaron Montgomery <email@hidden>
    • Re: Unit testing - printf and gdb
      • From: Dan Uff <email@hidden>
  • Prev by Date: Re: HOpenDF not working on Mac OS 10.5 Leopard
  • Next by Date: Re: Unit testing - printf and gdb
  • Previous by thread: Re: HOpenDF not working on Mac OS 10.5 Leopard
  • Next by thread: Re: Unit testing - printf and gdb
  • Index(es):
    • Date
    • Thread