warn if no debugger found

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/branches/ptyview_with_pipes@39557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2016-03-17 15:21:11 +00:00
parent 12c4b63b33
commit fc3846ac2f

View file

@ -284,6 +284,8 @@ enum {
fileName: [executablePath stringByDeletingLastPathComponent]];
[debugger debugExecutableAtPath: executablePath
withDebugger: gdbPath];
if (!debugger)
NSLog(@"No debugger module found");
// turn debug button off...
// [debugButton setState:NSOffState];