Sign in Join

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

Mailing lists / lazarus / 2013-09

Debugger in Mac refusing to start app

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Felipe Monteiro de Carvalho

Hello,

I am having a wierd issue in Mac OS X:

I have one particular project which is quite big and since yesterday night everytime I press play I get:

The GDB command:
"-symbol-list-lines refs_format.pas"
did not return any result.
The GDB process is no longer running.

Yesterday it was quite late, so I went to sleep and today in the morning debugging this project worked for about 1 hour and now it stopped again. It doesn't help to restart Lazarus, nor the entire computer =(

Other projects debug fine in the same lazarus without even restarting it ...

Any ideas of how to work around this? I really need to debug this project ... this file contains only data structures (only simple records, nothing fancy) and no code.

I've seen hundreds of time such error messages in Mac OS X debugging ... but never before so persistent that it will block me completely ...

Any ideas?

thanks,

Felipe Monteiro de Carvalho

Reply by email

Felipe Monteiro de Carvalho
to Felipe Monteiro de Carvalho

humm ... after working on something else for 20 minutes it started working again ... for now ...

But a work around to try to unlock it would be good still =) I tried to kill gdb, but it was not running as far as I can tell... so it didn't help.

Felipe

Felipe Monteiro de Carvalho wrote 32 lines
Hello, I am having a wierd issue in Mac OS X: I have one particular project which is quite big and since yesterday night everytime I press play I get: The GDB command: "-symbol-list-lines refs_format.pas" did not return any result. The GDB process is no longer running. Yesterday it was quite late, so I went to sleep and today in the morning debugging this project worked for about 1 hour and now it stopped again. It doesn't help to restart Lazarus, nor the entire computer =( Other projects debug fine in the same lazarus without even restarting it ... Any ideas of how to work around this? I really need to debug this project ... this file contains only data structures (only simple records, nothing fancy) and no code. I've seen hundreds of time such error messages in Mac OS X debugging ... but never before so persistent that it will block me completely ... Any ideas? thanks, -- Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho

Reply by email

Martin
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 6 lines
humm ... after working on something else for 20 minutes it started working again ... for now ... But a work around to try to unlock it would be good still =) I tried to kill gdb, but it was not running as far as I can tell... so it didn't help.

...

I have one particular project which is quite big and since yesterday night everytime I press play I get:

As for a workaraound, sorry. But when gd crashtes, the only think you can do, is to avoid issuing the command in question.

As for "-symbol-list-lines refs_format.pas"
this is issued, if the file refs_format.pas is in a visible editor.

So if you are looking at any other file, it might be ok. Of course, if you need to debug in that file, you can not avoid it.

Is that file recompiled everytime? If not, then maybe when it gets recompiled, then sometime it goes good, sometime bad? Also if it is in a package, then you could switch off debug info for that package.

----
Actually, in 1.3 you may be able to try something else.

Install fpdebug package in the ide, add fpgdbmidebugger to "uses" in ide/debugmanager. Then in options under debugger choose "gdb with fpdebug" It does not actually do anything on mac yet (it doesnt do much on other OS either...). But it mill prevent line info from being read. However there will be no blue dots in any file.

Reply by email