[Freeciv-Dev] Re: debugging freeciv with ddd or gdb
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 05 Oct 2000 22:58:25 Alain Vicet wrote:
>
> Hi,
>
> how can I run freeciv with gdb or ddd ?
>
> It seems impossible to have the civserver prompt needed to enter commands
>
> thank you
>
> alain Vicet
With gdb from the source root:
gdb server/civserver
and from the gdb promt "run". Now it will run as normal. If you want access to
the debugger just suspend CTRL-z the server, and you will be dropped back to the
gdb prompt.
-Thue
|
|