Recent

Author Topic: F4  (Read 7280 times)

djburke

  • Newbie
  • Posts: 2
F4
« on: August 15, 2014, 01:55:16 pm »
I've used Delphi 7 quite a bit. I tried Lazarus today to see if I could switch to it.

Problem, in Delphi you push F4 to run the program and stop when execution reaches that point.

Lazarus says run to cursor but it doesn't.
If I put  stop point (F5) on that line Lazarus stops but I cant inspect the variables set at that point.

Both of these I uses all the time, this will prevent me using lazarus at all.

Also no help files installed? Why? Yes I can install them later but why??????????? Really dumb.


marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: F4
« Reply #1 on: August 15, 2014, 02:11:04 pm »
Afaik the original idea was to use mostly online help.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9793
  • Debugger - SynEdit - and more
    • wiki
Re: F4
« Reply #2 on: August 15, 2014, 02:11:28 pm »
Check your debugger setup

http://wiki.lazarus.freepascal.org/Debugger_Setup

- Variables should work
- properties... : http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

F4 is different. It only works within the current procedure. If you leave the procedure it will also stop. This is nice, because it skips over the point, if there are nested calls....


engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: F4
« Reply #3 on: August 15, 2014, 03:32:05 pm »
djburke, welcome to Lazarus/FPC.  :-\

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: F4
« Reply #4 on: August 16, 2014, 06:36:43 am »
Don't use A mind when working with B. Lazarus may share several concepts with Delphi, but Lazarus IS NOT and WILL NEVER BE Delphi. Dig in documentations and wiki first, before you judge anything.

Basile B.

  • Guest
Re: F4
« Reply #5 on: August 16, 2014, 09:05:00 am »
Quote
Also no help files installed?

double click an identifier and press F1, it'll load the files in Laz custom CHM viewer. by default(e.g: when you launch it from the help mnu, w/t a keyword) it's empty (looks like a minor bug b.t.w). But the help files are really here and setup.


djburke

  • Newbie
  • Posts: 2
Re: F4
« Reply #6 on: August 19, 2014, 01:41:15 pm »
Just to let you all know, I give up.

Delphi 7 is really old but still way better than Lazaurus or anything recent from Embarcadero. It has a complete usable help system, I can inspect variables properly (F4), it was cheap to buy, fast to load and compile and produces small clean EXE.

I could not get Lazarus to debug properly, it wouldnt let me inspect variable, F4 did not work F5 did work but  not variable inspection. Help is not in context (when I could get it to run), I had trouble finding anything.  EXE files are big, why? Lazarus has the potential to be perfect but after all this time still isn't good enough in my opinion.

Even the Current owner of Delphi (Embarcadero) can't get this right they ruined the help system, changed the IDE layout for little benefit, made it unstable, increased the EXE size four fold for little extra function and massively increased the price. REALLY SUCKS. I even hate the name Embarcadero, they took a decent tool and ruined it, I tried to get a trial Licence for XE6, it would even install. After I complained they still didn't send me a working key. I hate the whole licence key thing anyway. Rant over.


I will continue to use Delphi 7 for as long as possible. Please Lazarus make your system work you are my only hope.

I don't see why it is so hard to copy the way Delphi 7 works. I like the code editor in later versions of delphi but almost everything else was redone badly.

An one last thing, having to enter verification codes every post will stop me using the forum. Good bye.

author=Martin_fr link=topic=25488.msg154854#msg154854 date=1408104688]
Check your debugger setup

http://wiki.lazarus.freepascal.org/Debugger_Setup

- Variables should work
- properties... : http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Properties

F4 is different. It only works within the current procedure. If you leave the procedure it will also stop. This is nice, because it skips over the point, if there are nested calls....

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: F4
« Reply #7 on: August 19, 2014, 01:57:27 pm »
Why should Laz copy the way Delphi 7 works?

Anyway, glad to hear Delphi 7 is superior for your needs compared to Lazarus - so you have something you can work with.
Good luck.

PS: The answers to most if not all of the questions you are posing can be found in the FAQ on the wiki, on the wiki and forum.
There's a separate page on transitioning from Delphi. Have you read it?

It's not as if you're the first person trying to move over from Delphi and Laz does work for a lot of them. As Leledumbo indicates, you just may need to get used to it.
Of course, if you don't want to spend the time to do so and continue to use Delphi, that's fine, too.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: F4
« Reply #8 on: August 19, 2014, 02:54:44 pm »
...I give up.
...
Good bye.

Good bye.  :-\

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: F4
« Reply #9 on: August 19, 2014, 03:05:33 pm »
Last time I tried D7, it didn't even install on recent windowses. Probably needs tricks.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: F4
« Reply #10 on: August 19, 2014, 03:11:06 pm »
Well, looking at the tone of his post (not happy with Lazarus, not happy with company names, not happy with <fill in here>) I doubt he'll be happy about any version of Windows after say NT4...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

mirce.vladimirov

  • Sr. Member
  • ****
  • Posts: 256
Re: F4
« Reply #11 on: August 19, 2014, 04:39:13 pm »
@djburke
Lazarus is not D7.  Even present-time Delphi is not D7. Lazarus and Delphi are similar, but not equal.
Lazarus is better then D7, but ofcourse it's your choice which one you will use.
Good luck.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: F4
« Reply #12 on: August 20, 2014, 05:34:56 am »
Just another lazy person. He didn't even bother reading 1st FAQ entry.

 

TinyPortal © 2005-2018