Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-02

Debugging within lazarus

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Jens During: when I try to debug my testproject within lazarus using gdb I get a messagewindow:…

Just back, and from my mailbox thi still seems unaswered, so sorry if it already is.

Jens During wrote 7 lines
Hi all, when I try to debug my testproject within lazarus using gdb I get a messagewindow: 'Debugger'- Initialization output: Interpreter 'mi' unrecognized. Is this any error or is this kind of internal debugging not yet implemented?

Nope this isn't an error (of lazarus) and simple internal debugging is possible. The latest thing I'm working on is better expression evaluation (evaluating objects doesn't work right).

The message you get means that the GDB you are using doesn't support the mi interface (gdb -i mi). AFAIK you need at least a 5.x GDB version.

In future there might be support for a non mi version of GDB, but since implemtations with mi are easier, I started that first. Besides that the 5.x version of GDB better understands pascal.

Marc

Reply by email

Jens During

Hi all,

when I try to debug my testproject within lazarus using gdb I get a messagewindow: 'Debugger'- Initialization output: Interpreter 'mi' unrecognized.

Is this any error or is this kind of internal debugging not yet implemented?

Regards,
Jens During.

Reply by email

Jens During
to Marc Weustink: Just back, and from my mailbox thi still seems unaswered, so sorry if it already is. Nope…

Hi Marc,
Many thanks, debugging now works fine for me.

<snip>

Show quoted text 12 lines
>when I try to debug my testproject within lazarus using gdb I get a >messagewindow: 'Debugger'- Initialization output: Interpreter 'mi' >unrecognized. >Is this any error or is this kind of internal debugging not yet > implemented? Nope this isn't an error (of lazarus) and simple internal debugging is possible. The latest thing I'm working on is better expression evaluation (evaluating objects doesn't work right). The message you get means that the GDB you are using doesn't support the mi interface (gdb -i mi). AFAIK you need at least a 5.x GDB version.

I used the original version of gdb from SuSE 7.3 (V. 5.0). Since version 5.1.1 of gdb the -mi-interface is enabled by default, so my version needs a ./configure --enable_gdbmi to get lazarus debugging working. I downloaded V5.3, now all works great for my things.

Many thanks generally to all developers of lazarus! Regards,
Jens During.

Reply by email