[hatari-devel] Invoking Debugger under MacOsX
Eero Tamminen
eerot at users.berlios.de
Sat Feb 13 19:36:30 CET 2010
Hi,
On Saturday 13 February 2010, Jerome Vernet wrote:
> > You need to run Hatari with/from a terminal.
> >
> > On X, you would do it like this:
> > xterm -T "Hatari debug window" -e hatari -d .
> >
> > Doesn't OSX have a terminal program that supports giving the program
> > to run as it's command line arguments (and which you could call from
> > XCode)?
>
> Yes, you can launch Hatari from the command Line with
> ./Hatari.app/Contents/MacOS/Hatari
>
> but it's not MacOsX friendly. A good thing should be a dedicated Cocoa
> windows.
Why you cannot run Hatari directly from XCode so that it gets run
with terminal?
I mean, in Linux doing that would be trivial. Instead of listing in
the .desktop file (that defines what is shown on menus and what
happens when user clicks on the menu item):
Exec=hatari
One would have:
Exec=xterm -T "Hatari debug window" -e hatari
User doesn't need to do anything / know anything about this.
> Stderr and stdin should be redirected, I think it's possible,
> for exemple, FinkCommander use this way to interact with user. In this
> case, it may be only a little work.
- Eero
More information about the hatari-devel
mailing list