2 Replies Latest reply on Mar 30, 2019 5:25 PM by cadi_1014291

    Debug a Customizer




      I'm trying to develop a customizer (yes i'm still trying to design a customizer for my custom component xD), i'm getting a Exception when trying to set a parameter with the SetParamExpr function.


      ¿Is there anyway to debug the customizer while developing in Creator? I haven't seen someone developing the customizer on VS, running it on Creator and being able to debug it, so if you know a way to debug the customizer please let me know.


      I had tried using System.Diagnostigs and Debug.WriteLine function but i can't see the messages being printed. So i'm currently using a Label on the customizer itself to print the messages i need to see.


      Attached is the project in case you want to take a look and let me know if i'm doing something wrong (i'm still a newbie with c# and windows forms applications).

      To trigger the error i'm getting open the example project, click on the dummy_app component and click the button on the customizer.




        • 1. Re: Debug a Customizer



          I just spotted your post.  It's just over one year since you posted it.  No one replied.


          I'm having a similar problem and would like to debug my customizer as well.


          I can load the C# customizer code into Visual Studio and I can modify the user interface and see the changes in Creator.

          The problem is that if I code part of the customizer incorrectly, I can't reliably debug it from Creator (your question) and I can't debug it from Visual Studio.


          Hopefully Cypress development will  take note of this post again.  Maybe they can share a way to install the UserControl  code  of the customizer into a Visual Studio form so that we can debug potential issues within Visual Studio first.



          • 2. Re: Debug a Customizer



            I haven't worked on the custom customizer since then (life happened), but i do hope Cypress can help us to work with their tools.