I'm trying to stop a running GDB inside of xcode using my AppleScript that builds and runs my iPhone PhoneGap apps.
It throws this error if the app is already running when I'm testing:
"Unable to debug executable since a debug session is in progress."
I need to get it to stop the current debugger before rebuilding.
Any ideas?