Recent

Author Topic: [RESOLVED] debuger doesn't stop with break points with fpcunit project...  (Read 2166 times)

gelinp

  • Full Member
  • ***
  • Posts: 114
Hi,

I've made a fpcunit project to test key objects of my application. But debugger dosn't stop on break points. Project compil, but I can't use break points... It's like the application fpcunit will not be complied with debug options, so it will not start debuger...I understand that I doesn't run directly my tests but I use fpcunit to run my test. So what to do to tell fpcunit to use debug informations ?

Someone said I have to look fo -gwl or -gwlh options. I tried, but without any result...

My GDB version is : GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1

Thank you for your answer.
Patrick
« Last Edit: November 05, 2016, 12:31:49 pm by gelinp »
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

gelinp

  • Full Member
  • ***
  • Posts: 114
Re: debuger doesn't stop with break points with fpcunit project...
« Reply #1 on: November 05, 2016, 12:31:13 pm »
I respond to myself : I find out the option "use an application at startup" which was activated. So I deactivated it and it's ok...
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

 

TinyPortal © 2005-2018