architecture-building-systems / hive

Rhino Grasshopper plug-in for quick & dirty building simulation
https://www.food4rhino.com/en/app/hive
GNU General Public License v3.0
31 stars 4 forks source link

visual studio live debugging won't work when honey-badger components are on the GH canvas #373

Open ChrisZenhub opened 4 years ago

ChrisZenhub commented 4 years ago

so live debugging in visual studio works like this:

however, as soon as there is a honey-badger component involved on the Canvas, trying to attach to process throws this error: image.png It won't happen with ghpython components, and it only happens, if an output of a honey-badger component goes into another visual studio component. So if the honey-badger component is a final component, whose output is not used anymore, the error also does not occur.

Can we solve this?

ChrisZenhub commented 4 years ago

image.png

daren-thomas commented 4 years ago

@christophwaibel can you please attatch a working example of the problem? (ideally, a .gh file and the components necessary to recreate the problem. e.g. a branch name (can be master).

christophwaibel commented 4 years ago

hm this example works (try setting breakpoints in GhDistributors.GhMainDistributor and GHComponents.GhResults): DebuggingInVS.zip

but try Hive_Full_Workflow.gh in hive\GrasshopperExamples, it says it can't find some file: image

@daren-thomas