Debug Citect Function in Deployed Project

Hello

we are working with two SCADA 2018 serevers with 4 clients.

We start to use the deployment projects from ES.

To check some cicode function troubles in servers, we need to debug it. we need to create a logs or it´s possible to use a debug from cicode editor?

  • Hi Carlos,
    I assume you are using the Deployment Feature from Citect Studio?
    Unfortunately it is not possible to run the cicode debugger on a deployment client. There are a number of technical reasons for this. Not all the project files are deployed to a deployment client (to save size and provide working project you can run). The Cicode debugger need to do a compile to enable certain break points, and this is not possible either, since you can't compile a deployed project.
    I'd recommend you do cicode debugging from your Engineering work station, which is running on the local machine (not via Deployment) and where you would normally compile and test your changes. If you need to debug running servers, you may take the following approaches:
    - Debug from Kernel
    - Create a kernel dump (helpful if you are running Server process as a Windows Service, since kernel window not available)
    - Add additional logging or tracing to your cicode (requires project changes and new deployment)
    Let me know if I can offer further guidance.
    Cheers,
    Olivier