Grasshopper

algorithmic modeling for Rhino

Extra Debugging / Testing GHA tips for Visual Studio 2012 Rhino 5 64 bit

Since a week I'm getting acquainted with C# and Visual Studio to be able to create my own Grasshopper components. So far so good ... I'm using some external 64 bit libraries.

Following the guides in some other threads I'm able to use "start debugging" to automatically run Rhino and start Grasshopper. I can pause and do some debugging. The .gha file is created after the build action.

However, the program is 64 bit so the "Edit and Continue" possibility is not there. To change the code I need to stop debugging. 

So, every time I change my code and want to test, Rhino and Grasshopper need to start up, and I have to open a test rhino file and a grasshopper file. (I know the file opening can be automated). This is rather tedious and time consuming. 

Is there a possibility to Not restart Rhino every time after a code change?

I've tried to use "GrasshopperUnloadPlugin" build the project and start Grasshopper again. But, the .gha file isn't updated while Rhino is running.

Any tips would be greatly appreciated. 

Views: 604

Replies to This Discussion

I doubt you'll be able to get around restarting Rhino for debugging c# code.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service