Recent

Author Topic: Problem with "Attach to program..."  (Read 1926 times)

korba812

  • Sr. Member
  • ****
  • Posts: 447
Re: Problem with "Attach to program..."
« Reply #15 on: October 27, 2024, 12:49:28 am »
After compiling library, you should register it with "regsvr32 comdemolib.dl" command. You will find "test.js" script in "wsh" directory in archive with the library.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10691
  • Debugger - SynEdit - and more
    • wiki
Re: Problem with "Attach to program..."
« Reply #16 on: October 27, 2024, 12:19:35 pm »
I managed to register it (needed to restart the test system to get rid of it again...).  But I still got errors.

Lets go a different way.

Please start you Lazarus (from a command line) with
Code: Text  [Select][+][-]
  1. lazarus.exe  --debug-log=LOG_FILE  --debug-enable=DBGMI_TYPE_INFO,DBG_CMD_ECHO,DBG_STATE,DBG_DATA_MONITORS,DBGMI_QUEUE_DEBUG,DBG_ERRORS,DBG_VERBOSE,DBG_WARNINGS,DBG_THREAD_AND_FRAME  

And attach the resulting log file. Thanks.

korba812

  • Sr. Member
  • ****
  • Posts: 447
Re: Problem with "Attach to program..."
« Reply #17 on: October 27, 2024, 01:03:20 pm »
It's really strange. I run lazarus with indicated parameters and the problem does not occur. Then I ran normally through startlazarus and I can no longer repeat the problem either. I did not update or rebuild lazarus at that time, that night I tried and the problem occurred.... What happened?

Thanks for your help and sorry for the lost time. If the problem returns I will attach a log file.

P.S. Thanks to this problem, I had the opportunity to switch from GDB to FpDebug and will stay that way - great job!

 

TinyPortal © 2005-2018