Sign in Join

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

Mailing lists / lazarus / 2015-12

lazarus 1.6 rc1 fpc 3.0 opendialog

11 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Andrea Mauri

Dear all,
windows 10, lazarus 1.6 rc1 fpc 3.0
I put a button and an opendialog on a form
Onclick button I put
opendialog.execute
clicking button lazarus stop workin with message debugger error gdb stop working

andrea

---
Questa e-mail ? stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus

Martin Frb
to Andrea Mauri
Andrea Mauri wrote
Dear all, windows 10, lazarus 1.6 rc1 fpc 3.0

32 or 64 bit?

Show quoted text 5 lines
I put a button and an opendialog on a form Onclick button I put opendialog.execute clicking button lazarus stop workin with message debugger error gdb stop working

Does it work outside the IDE? (without gdb).

If 64 bit: We currently have no maintainer for 64 bit gdb, so the gdb exe for 64 bit is rather old. It may not work well on modern windows.

Ondrej Pokorny
to Andrea Mauri: windows 10, lazarus 1.6 rc1 fpc 3.0 I put a button and an opendialog on a form Onclick…
Andrea Mauri wrote 7 lines
Dear all, windows 10, lazarus 1.6 rc1 fpc 3.0 I put a button and an opendialog on a form Onclick button I put opendialog.execute clicking button lazarus stop workin with message debugger error gdb stop working

I had the same issue on Windows 10 and was advised to check DisableLoadSymbolsForLibraries (I don't remember who advised me, sorry). See http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

Ondrej

Andrea Mauri
to Ondrej Pokorny: I had the same issue on Windows 10 and was advised to check…

thanks a lot!

Il 16/12/2015 18:15, Ondrej Pokorny ha scritto:

Show quoted text 21 lines
On 16.12.2015 17:52, Andrea Mauri wrote: > Dear all, > windows 10, lazarus 1.6 rc1 fpc 3.0 > I put a button and an opendialog on a form > Onclick button I put > opendialog.execute > clicking button lazarus stop workin with message debugger error > gdb stop working I had the same issue on Windows 10 and was advised to check DisableLoadSymbolsForLibraries (I don't remember who advised me, sorry). See http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips Ondrej -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

---
Questa e-mail ? stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus

Ondrej Pokorny
to Bart
Bart wrote 6 lines
On 12/16/15, Ondrej Pokorny wrote: > >I had the same issue on Windows 10 and was advised to check > >DisableLoadSymbolsForLibraries (I don't remember who advised me, sorry). Yoe beat me to it. (And I was the one.)

:)

Is it possible/reasonable to check the settings by default? Maybe more people will be affected by the Win10 issue and not by disabling load symbols by default?

Ondrej

Martin Frb
to Ondrej Pokorny
Ondrej Pokorny wrote 14 lines
On 16.12.2015 18:20, Bart wrote: > On 12/16/15, Ondrej Pokorny wrote: > >> >I had the same issue on Windows 10 and was advised to check >> >DisableLoadSymbolsForLibraries (I don't remember who advised me, >> sorry). > Yoe beat me to it. > (And I was the one.) :) Is it possible/reasonable to check the settings by default? Maybe more people will be affected by the Win10 issue and not by disabling load symbols by default?

If we could get a more uptodate gdb for 64 bit that should solve it (providing it passes the gdbmi test case without crash)

If the option is active and you develop a library project, then you can not debug it.

---------
In the past 64 bit did not work because of SEH, so the error was encountered with 32 bit. For 32 bit gdb was updated to 7.7.1 and that should (afaik) fix the issue. (On 32 bit gdb > 7.7.1, tested up do gdb 10 are less stable, they crash in the testcase)

Sven Barth
to Martin Frb
Martin Frb wrote 27 lines
On 16/12/2015 17:26, Ondrej Pokorny wrote: > On 16.12.2015 18:20, Bart wrote: >> On 12/16/15, Ondrej Pokorny wrote: >> >>> >I had the same issue on Windows 10 and was advised to check >>> >DisableLoadSymbolsForLibraries (I don't remember who advised me, >>> sorry). >> Yoe beat me to it. >> (And I was the one.) > > :) > > Is it possible/reasonable to check the settings by default? Maybe more > people will be affected by the Win10 issue and not by disabling load > symbols by default? If we could get a more uptodate gdb for 64 bit that should solve it (providing it passes the gdbmi test case without crash) If the option is active and you develop a library project, then you can not debug it. --------- In the past 64 bit did not work because of SEH, so the error was encountered with 32 bit. For 32 bit gdb was updated to 7.7.1 and that should (afaik) fix the issue. (On 32 bit gdb > 7.7.1, tested up do gdb 10 are less stable, they crash in the testcase)

What about fpdebug? Does it work for Win64?

Regards,
Sven

Martin Frb
to Sven Barth
Sven Barth wrote
What about fpdebug? Does it work for Win64?

Not tested recently, but a year ago it did.

It is missing many features though. Even breakpoints do not always work (e.g. generics, where the same pascal code has more than one address in memory.

Andrea Mauri
to Martin Frb: 32 or 64 bit? Does it work outside the IDE? (without gdb). If 64 bit: We currently have…
32 or 64 bit?

win 64 lazarus 32

Show quoted text 8 lines
> I put a button and an opendialog on a form > Onclick button I put > opendialog.execute > clicking button lazarus stop workin with message debugger error > gdb stop working Does it work outside the IDE? (without gdb).

yes. the exe file works fine

---
Questa e-mail ? stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus