Sign in Join

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

Mailing lists / lazarus / 2015-12

[offtopic] Debugger is not working...

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

William Ferreira

Hi,

I got a problem that seems more related to Windows than Lazarus itself.

I simply can debug an application.

I'm using a notebook that cames with Windows 8. I've updated to W8.1 and to W10. After updating to W8.1, if I run a project via F9 key, I always get that message ('Hit stop and hope the best, we're pulling the plug', 'Failed to load application executable')

I thought updating lazarus should help but I got no success.

It heappens with all projects.

Is there a way check what is heappening?

Thanks.

William de Oliveira Ferreira

Programador Web/Desktop

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151216/5ddfcc25/attachment.html>

Reply by email

Thierry Andriamirado
to William Ferreira

Le 16 d?cembre 2015 13:41:25 UTC+03:00, William Ferreira a ?crit :

I got a problem that seems more related to Windows than Lazarus itself. I simply can debug an application.

Maybe an anti-virus and file locking issue?
With windows 8.1 I can't run and debug my apps within Lazarus if AVAST's services are running.

Envoy? de mon t?l?phone Android avec K-9 Mail. Excusez la bri?vet?.

Reply by email

Martin Frb
to William Ferreira: I got a problem that seems more related to Windows than Lazarus itself. I simply can…
William Ferreira wrote 16 lines
Hi, I got a problem that seems more related to Windows than Lazarus itself. I simply can debug an application. I'm using a notebook that cames with Windows 8. I've updated to W8.1 and to W10. After updating to W8.1, if I run a project via F9 key, I always get that message ('Hit stop and hope the best, we're pulling the plug', 'Failed to load application executable') I thought updating lazarus should help but I got no success. It heappens with all projects. Is there a way check what is heappening?

1) Antivirus. I ve seen it before, the AV removes the exe before it can run. (some av do that without asking, even if they are set to ask first). The list of AV is always changing, as they get updated and may stop doing so.

2) Can you find and run the exe outside the IDE?

3) which lazarus? 1.4 (32bit ?).x or 1.6 (32 or 64 bit?) For 1.4 (32 bit) try download the alternative gdb 7.7.1 from our sourceforge site. 1.6 already has that.

4) name of directory in which you saved the project, and where the exe is. For testing use a folder without spaces or accents.... (in the entire path, so no "documents and settings". Use C:\mytest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151216/94e9447a/attachment-0001.html>

Reply by email

William Ferreira
to Martin Frb

1) Antivirus. I ve seen it before, the AV removes the exe before it can run. (some av do that without asking, even if they are set to ask first). The list of AV is always changing, as they get updated and may stop doing so.

I don't use antivirus, if you don't count WDefender as antivirus. As on W10 we can't let it disabled, so, now I use an antivirus. Anyway, he isn't removing any file.

2) Can you find and run the exe outside the IDE?

Yes, I'm using a lot of ShowMessage to debug...

3) which lazarus? 1.4 (32bit ?).x or 1.6 (32 or 64 bit?)

For 1.4 (32 bit) try download the alternative gdb 7.7.1 from our sourceforge site. 1.6 already has that.

It's heappening since 1.4.2. I always use 32bit. On Laz 1.6RC1 the problem still lives...

4) name of directory in which you saved the project, and where the exe is. For testing use a folder without spaces or accents.... (in the entire path, so no "documents and settings". Use C:\mytest

Well, I'm thinking about special chars on path now. Old projects that has special chars on path worked fine on past but now they don't work. Spaces never was a problem, maybe now? Another thing to think about is that my projects are store on Onedrive's and Google Drive's folder.

William de Oliveira Ferreira

Programador Web/Desktop

To:
From:
Date: Wed, 16 Dec 2015 15:13:16 +0000
Subject: Re: [Lazarus] [offtopic] Debugger is not working...

On 16/12/2015 10:41, William Ferreira
wrote:

Hi,

I got a problem that seems more related to Windows than Lazarus itself.

I simply can debug an application.

I'm using a notebook that cames with Windows 8. I've updated to W8.1 and to W10. After updating to W8.1, if I run a project via F9 key, I always get that message ('Hit stop and hope the best, we're pulling the plug', 'Failed to load application executable')

I thought updating lazarus should help but I got no success.

It heappens with all projects.

Is there a way check what is heappening?

1) Antivirus. I ve seen it before, the AV removes the exe before it can run. (some av do that without asking, even if they are set to ask first). The list of AV is always changing, as they get updated and may stop doing so.

2) Can you find and run the exe outside the IDE?

3) which lazarus? 1.4 (32bit ?).x or 1.6 (32 or 64 bit?)

For 1.4 (32 bit) try download the alternative gdb 7.7.1 from our sourceforge site. 1.6 already has that.

4) name of directory in which you saved the project, and where the exe is. For testing use a folder without spaces or accents.... (in the entire path, so no "documents and settings". Use C:\mytest

Reply by email