Re: [fpc-devel] Debugger problem

2010-08-07 Thread Marco van de Voort
In our previous episode, Hans-Peter Diettrich said: > > I'm somewhat confused. There seem to exist two gdb.exe on my system, > with slightly different version numbers, but I can locate only one. > Typically Windows - protect the system from the user :-( Get which.cmd from http://www.robvanderwoud

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Hans-Peter Diettrich
Marc Weustink schrieb: Nonetheless when I run the same program from the Lazarus IDE, no console window opens :-( You cannot debug console apps in lazarus. I can, on Windows. And, as I've just learned in the chat, it's also possible do debug console applications on Linux, at least as long as

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Marc Weustink
Hans-Peter Diettrich wrote: Jonas Maebe schrieb: See comment 0035256 at http://bugs.freepascal.org/view.php?id=15692 for how to fix it. This was not the problem, but reading helped - I had to enable creation of gdb debug info, to make the debugger work with Lazarus. I wonder why gdb doesn't

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Marc Weustink
Hans-Peter Diettrich wrote: Marc Weustink schrieb: What if you run a gdb from the command line ? I'm somewhat confused. There seem to exist two gdb.exe on my system, with slightly different version numbers, but I can locate only one. Typically Windows - protect the system from the user :-( A

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Hans-Peter Diettrich
Jonas Maebe schrieb: See comment 0035256 at http://bugs.freepascal.org/view.php?id=15692 for how to fix it. This was not the problem, but reading helped - I had to enable creation of gdb debug info, to make the debugger work with Lazarus. I wonder why gdb doesn't report any errors, when runn

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Hans-Peter Diettrich
Marc Weustink schrieb: What if you run a gdb from the command line ? I'm somewhat confused. There seem to exist two gdb.exe on my system, with slightly different version numbers, but I can locate only one. Typically Windows - protect the system from the user :-( After some tries: found the ot

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Jonas Maebe
On 07 Aug 2010, at 05:37, Hans-Peter Diettrich wrote: > I've installed Lazarus 0.9.28 (with FPC 2.2.4) 64 bit on Win7/64. Here gdb > works. > > Then I built and installed FPC 2.5 (trunk) for further use. The compiled apps > (64 bit) run fine, as long as I disable debugging. With debugging enab

Re: [fpc-devel] Debugger problem

2010-08-07 Thread Marc Weustink
Hans-Peter Diettrich wrote: I've installed Lazarus 0.9.28 (with FPC 2.2.4) 64 bit on Win7/64. Here gdb works. Then I built and installed FPC 2.5 (trunk) for further use. The compiled apps (64 bit) run fine, as long as I disable debugging. With debugging enabled the application hangs on start,