[fpc-devel] 'debugserverintf' fails to compile under FPC 2.4.0-rc1 and FPC 2.5.1

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Dec 8 10:40:43 CET 2009


2009/12/8 Michael Van Canneyt <michael at freepascal.org>:
>
> No, it uses the simpleipc unit.
>
> There was an old version of the debugintf/server units, but they should no
> longer be used; I think you're using the old versions.

I was looking at the GTK1 GUI debugserver application, and wanted to implement
a fpGUI version of that server. The code I was looking at is located at:

   <fpc_src>/utils/debugsvr/debugintf.pp
   <fpc_src>/utils/debugsvr/debugserverintf.pp
   <fpc_src>/utils/debugsvr/gtk/*

So are you saying that all debug server applications like the Lazarus
one, GTK1 (included with FPC and Console (also included with FPC)
should rather use the 'simpleipc' unit to communicate?

So what is the use of the 'debugserverintf' unit, or is that unit
actually deprecated?


> All units should be in fcl-process and fcl-base, I think ?

'simpleipc' is located in fcl-process.


Um, I just noticed there are two units called dbugintf.pp in FPC source...

  packages/fcl-process/dbugintf.pp
and
  utils/debugsvr/debugintf.pp


Shouldn't one of them be deleted? The 'utils/debugsvr/*' code looks
older and is not based on SimpleIPC, so maybe that should be deleted
to avoid further confusion?


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list