Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Sven Barth

On 16.12.2015 19:11, Martin Frb wrote:

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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Bart
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.)

> See http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips
>
> Ondrej

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb

On 16/12/2015 19:57, 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.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Andrea Mauri



32 or 64 bit?

win 64 lazarus 32



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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Andrea Mauri

thanks a lot!

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

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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread 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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Bart
On 12/16/15, 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

See 
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Ondrej Pokorny

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?


Ondrej

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb

On 16/12/2015 16:52, Andrea Mauri wrote:

Dear all,
windows 10, lazarus 1.6 rc1 fpc 3.0

32 or 64 bit?


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.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Martin Frb

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)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazarus 1.6 rc1 fpc 3.0 opendialog

2015-12-16 Thread Ondrej Pokorny

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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus