Test Code?

Is there a way to test code, like an interactive editor, without having to launch a test app?

Do you mean the debugger?

Yes, the debugger. I see it run when I test the app but how do i run sample code w/o running the app?

You don’t really.

Usually if I need to test a small but of code, I make a new project just to test with.

Okay, thanks.

Yes, it is a bad idea: but since last year, I add code to the current project and once I know what I want to know, I delete the test code (eventually, I save it elsewhere [in Apple’s TextEdit for example]).

Why ? I had enough to get tons of testing scories in my boot hard disk.