Jan 03

Delphi PAServer | Debugger fatal error: device not responding. The debug process will be terminated

This may happen if you try to Debug your program (F9) via PAServer on *nux based systems. In this case the IDE may hang. You may also receive: “Unable to create process: Connection device timeout”

Resolution: ensure files in PAServer’s directory have EXECUTE flag (especially linuxgdb). It’s that simple 🙂

Found with the help of: https://github.com/a2o/snoopy

Jan 03

Introducing JsonToDelphiClass

JSON format spread over the years and became preferred lightweight protocol for data exchange. Delphi natively supports JSON via the classes in the System.JSON unit. But dealing with TJsonObject requires an intermediate layer for mapping JSON values to our business logic.
Recent Delphi releases make it easier to load JSON data to a specific BL class with the help of TJson.JsonToObject. But in all cases the developer should manually create these BL classes which can be time consuming operation. The missing part is the JSON Data binding wizard.

Continue reading