Recent

Author Topic: Lazarus bud Step by Step  (Read 2653 times)

madade

  • New member
  • *
  • Posts: 7
Lazarus bud Step by Step
« on: March 03, 2018, 06:52:29 am »
I am new of this topic and i hope for help.

I use a Lazarus 1.6.4 with FPC 3.0.2 on a Linux Slackware 13 machine with my software from more time.
and it is all ok with F8 Ster over function
now, I made a simple change to the code, I set a specific print font.
now the code no longer works,
I checked the code with F8 Step by Step and I see that Lazarus skips lines of code that are the ones incriminated.

You could help me please

madade

  • New member
  • *
  • Posts: 7
Re: Lazarus bud Step by Step
« Reply #1 on: March 03, 2018, 07:31:29 am »
please, is there anyone who can help me?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4709
  • I like bugs.
Re: Lazarus bud Step by Step
« Reply #2 on: March 03, 2018, 11:13:40 am »
now the code no longer works,
It is difficult to say why without seeing the code.

Quote
I checked the code with F8 Step by Step and I see that Lazarus skips lines of code that are the ones incriminated.
Stop and recompile your program before stepping in debugger again.
« Last Edit: March 03, 2018, 03:10:37 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12288
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus bud Step by Step
« Reply #3 on: March 03, 2018, 12:22:38 pm »
As for "stepping" your code.

Make sure your setting are correct http://wiki.lazarus.freepascal.org/Debugger_Setup

In case of any difference between your source lines, and the stepping:
- Stop debugger.
- "Build" from the run menu.
- "Reset debugger" from the run menu
- F9

Also make sure:
- all your source files are in the project (menu Project > Project Inspector)
- all those files are in the same folder on your disk.

Do NOT play with any "path" settings in project options.
« Last Edit: March 03, 2018, 12:24:52 pm by Martin_fr »

madade

  • New member
  • *
  • Posts: 7
Re: Lazarus bud Step by Step
« Reply #4 on: March 03, 2018, 01:38:30 pm »
Thanks to all, I have replace end recompile Lazarus and I have resolved.

How i made for "solved" ?

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Lazarus bud Step by Step
« Reply #5 on: March 03, 2018, 02:33:13 pm »
As originator of the thread you can edit its Subject to read differently.

 

TinyPortal © 2005-2018