Recent

Author Topic: [SOLVED] step into not working  (Read 4257 times)

zonafets

  • New member
  • *
  • Posts: 9
[SOLVED] step into not working
« on: December 06, 2014, 03:29:37 am »
Hi,

I can not step into method applyUpdates of tsqlquery neither if set a breakpoint.
Nor do I see the assembler version.

I tried the debug ide mode but nothing to do.
Dont' see any particular option.

Win7.64bit.Laz.1.2.6

Thanks
« Last Edit: December 07, 2014, 01:52:32 am by zonafets »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12209
  • Debugger - SynEdit - and more
    • wiki
Re: step into not working
« Reply #1 on: December 06, 2014, 01:40:49 pm »
have you recompiled the package with debug info (and with NO optimization / no smart-linking?)

Open the package, then choose options from the package dialog, and change the settings.

Then rebuild the project, you should see the package being rebuild.

zonafets

  • New member
  • *
  • Posts: 9
Re: step into not working
« Reply #2 on: December 06, 2014, 07:09:50 pm »
tsqlquery.applyupdate refer to unit BufDataset of package FCL.

I rebuilt the package and tried thw whole ide for debug, but nothing happen.

It's a little bit strange that the compilation of FCL package is immediate (on my I7).

Anyway, the default compile option is O1 (debugger friendly).

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12209
  • Debugger - SynEdit - and more
    • wiki
Re: step into not working
« Reply #3 on: December 06, 2014, 08:04:19 pm »
Quote
tsqlquery.applyupdate refer to unit BufDataset of package FCL.

The name FCL is used with 2 meanings. The "package FCL" (Lazarus package) only contains registration stuff. But not the unit you referred to.

The actual FCL, is in the FPC installation. This can not be rebuild from inside the IDE.

You need to rebuild FPC for this.

Sometimes you can get away by moving units from one fpc folder, and recompile those only. But that might be tricky...

Best is to to a 2nd fpc install from source, using a tool like fpcup

zonafets

  • New member
  • *
  • Posts: 9
Re: step into not working [SOLVED]
« Reply #4 on: December 07, 2014, 01:48:41 am »
Solved thank other post:

http://forum.lazarus.freepascal.org/index.php/topic,7781.msg36971.html#msg36971

With only difference that "make install" copy by default into the wrong directory "\pp\units\x86_64-win64\fcl-db".

So I used:

    \lazarus64\fpc\2.6.4\source\packages\fcl-db>..\..\..\bin\x86_64-win64\make install INSTALL_PREFIX=/lazarus64/fpc/2.6.4

Thanks for any input.

 

TinyPortal © 2005-2018