I have a Cocoa appl with some Java code, when i try to debug it, it launches JavaBug instead of gdb...

What am I missing here, it was working as expected in PB...
If the target was converted to native from an original PB one, you may have to edit the executable settings:
select the executable in the
Group & Files list, double-click on it and scroll down to Launch Configuration group of settings, in the pop-up menu near Launch using select GDB instead of JavaBug.

Authored by: Anonymous on Friday, May 07 2004 @ 11:56 PM BST
It looks like the option moved in XCode. It is now under the
"Executables" list item. Click on your app name, then scroll to Launch
Configurations and set the Launch using: entry to GDB.