Is there any description of how the C# script component debugger should work? I’ve used other debuggers and am use to stepping through my code. The example grasshopper code was already debugged in Visual Studio Code before being tried in grasshopper. So I know the code in the dll’s work. And I got grasshopper to recognize my .dll and namespace. But nothing happens. I can’t even get the Print(“hello”) to be displayed. It lets me set breakpoints but never gets to any of them as far as I can tell. The code solves a 4 bar link for angles. The output should be changes in angles 3, 4 for angle 2 as input. I was going to include the .dll’s but it wouldn’t let me upload them. But what I really need is a tutorial on how the debugger should work.
FourBar.gh (19.4 KB)
Hi,
Have you been to developper.rhino3d.com?
Here’s some documentation on the debugger:
Thanks. I think what I need to do is create a simple C# script and play some with the debugger to get used to it before trying it on something more complicated like using an assembly.
@Joe4 FYI the script editor debugger can only debug your script and can not step into any external assembiles
Yes, I realize that. I was having trouble with an assembly where first I could not get it recognized and then couldn’t get anything to work via the debugger. I think I found that things were getting stuck inside the assembly. The new debugger looks quite powerful and I’m glad to have it and looking forward to using it. We’ve needed it for some time.
Joe
1 Like