Grasshopper

algorithmic modeling for Rhino

Techie Quesiton, Limit on Number of Lines of Code within SolveInstance Method of Custom Component Class?

I expereinced soem weird issues when debugging a component. I was unable to interrogate the items contained in a list (generic list of string type) created form the input string parameter of the component. The VS IDE was unable to calculate the vlaues in the watch window.

 

This is weird becuase I have never experienced this before and seemed to only occurr when I had a large amount of lines of code within the solveinstance method of my custom component class.

 

If I selectively commented out blocks of my code from within the solveinstance method, the VS IDE would correctly calculate and display the values in my list while in the watch window.

 

This is probably crazy, but is there any restriction on the amount of code within the solveinstane? Does the amount of code affect the IDE watch values in debug mode?

 

thanks

Views: 179

Replies to This Discussion

Hi Duck,

no, as far as I know there are no limits to the amount of code. Something else must be off.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service