I am aware of the settings in the “Setting->Environment dialog named:
“Shell to run command in:”
“Terminal to launch console programs:”
They are currently set to:
/bin/sh -c
osascript -e 'tell app "Terminal" to do script "$SCRIPT"'
The default setting is:
osascript -e 'tell app "Terminal"' -e 'activate' -e 'do script "$SCRIPT"' -e 'end tell'
The only difference is that it also tells it to "activate",
i.e. bring the window to the front.
It should still have launched, just in the background...
It is probably some simple error I am making that is causing the apps console window to not display while I am debugging but I can’t seem to figure it out.
In the build log you should have a line like "Executing:"
You could try running that yourself, in a Terminal window.
I've looked at the code and the tty thing is compiled only for wxgtk = linux/freebsd
#ifdef __WXGTK__
// create xterm and issue tty "/dev/pts/#" to GDB where
// # is the tty for the newly created xterm
m_bIsConsole = (target && target->GetTargetType() == ttConsoleOnly);
if (m_bIsConsole)
{
if (RunNixConsole() > 0 )
{ wxString gdbTtyCmd;
gdbTtyCmd << wxT("tty ") << m_ConsoleTty;
m_State.GetDriver()->QueueCommand(new DebuggerCmd(m_State.GetDriver(), gdbTtyCmd, true));
DebugLog(wxString::Format( _("Queued:[%s]"), gdbTtyCmd.c_str()) );
}
}//if
#endif//def __WXGTK__
An easy fix (if it works) is to replace
#ifdef __WXGTK__
with
#ifndef __WXMSW__
or to use if (!platform::windows)
But I can test it, because I don't have a osx running...