Xcode plugin that closes the debug window automatically after the debug session has ended.
In response to this StackOverflow question.
The plugin was developed and tested with Xcode 4.2.1.
-
Unzip it.
-
Move
XcodeAutoCloseDebug.xcplugin
to~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
-
Restart Xcode
-
Open menu "Xcode" -> "Preferences" -> "Behaviors" -> "Run Starts".
-
Activate "Show tab" and set the tab name "XcodeAutoCloseDebug" (this exact name is important!)
-
Run the executable and detach the debugger window (drag the tab out of Xcode to create an own window).
-
Stop the executable and see what happens ;-)
Lars Schneider larsxschneider+xcodeautoclosedebug@gmail.com
Xcode Auto Close Debug is available under the BSD license. See the LICENSE file for more info.