I'm trying to build a custom .dll library in grasshopper but the grasshopper component from RFEM is raising an System.ExecutionEngineException which prevents me from debbugging my code.
Rhino crashes after this error is thrown.
- Running the program without the debbuger works without problems.
- Deleting only the GrasshopperRfem6WsComponent.gha from my local files solves the problem and i can debbug it, but then I can't interact with the RFEM interface.
Unfortunately since a .pdb file is not available, i cannot offer more insights of where this error is comming from.
Hello Renan,
Thank you for your question!
You probably cannot debug because the dlubal plugin has passed obfuscation/confuser.
I am not sure if there are any possibilities in Grasshopper to debug without disabling our plugin.
If you have further questions, feel free to ask here 
Best regards
Paul Sivolgin
1 Like
I'm facing the same issue...
I end up having to uninstall - reinstall the RFEM plugin in a daily or weekly basis which indeed is very frustrating...
Hoping for a fix soon
1 Like
Hi Paul,
I've worked with this workaround previously for working with independent software, whoever this time my workflows for this custom .dll depend on results computed from RFEM. Is there anything on the roadmap for dealing with this?
Hi @GuillaumeCaussarieu and @renan.prandini ,
In our Grasshopper plugin, we are using some code and parts which we do not want to enclose to the broad public. Therefore we are using obfuscation of the .dll/.gha file. One ot the rules is also to not permit debugging. Therefore, are also not distributing any *.pdb file.
From the reasons above we are not planning to switch this obfuscation of or to distributing the *.pdb file.
We might try to be bit softer in the no debug rule as it has some influence on the other plugins.
1 Like
Hi @jaroslav.broz ,
Thank you for your answer.
While I understand the need to protect your code, it is the first time that I need to uninstall a component each time I am developing (hence debugging) a plugin for GH (even when it is not related to RFEM).
Having to uninstall/reinstall Dlubal plugin on a daily basis is, as you can surely imagine, not a suitable/long term work around.
Thank you very much!
1 Like