Recent

Author Topic: [SOLVED] Why debugger pop up at just string comparison?  (Read 1037 times)

egsuh

  • Hero Member
  • *****
  • Posts: 830
[SOLVED] Why debugger pop up at just string comparison?
« on: March 16, 2021, 04:19:04 am »
Hi,
I set a breakpoint, and pressed F8 at following sentence.. and they the attached debugger window pops up.

Code: Pascal  [Select][+][-]
  1.       if FPID=AValue then begin
  2.          Showmessage('The project is already open');
  3.          Exit;
  4.       end;
  5.  

Both FPID and AValue are string type variables, but FPID is a field in object, and AValue is a parameter of setPID procedure.
« Last Edit: March 16, 2021, 05:27:22 am by egsuh »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 7402
  • Debugger - SynEdit - and more
    • wiki
Re: Why debugger pop up at just string comparison?
« Reply #1 on: March 16, 2021, 04:43:32 am »
Windows 64bit?

If, yes: there are issues between gdb and fpc.

Tools > Options > Debugger: in the property grid: FixIncorrectStepOver = True
Might help...


egsuh

  • Hero Member
  • *****
  • Posts: 830
Re: Why debugger pop up at just string comparison?
« Reply #2 on: March 16, 2021, 05:27:07 am »
Quote
Windows 64bit?

If, yes: there are issues between gdb and fpc.

Tools > Options > Debugger: in the property grid: FixIncorrectStepOver = True
Might help...

I did it and no more problem. Thank you, Martin.

 

TinyPortal © 2005-2018