RH8 new C# component - throwing exception message

Hi,

When working with the new C# component editor in Rhino 8, if you throw a new exception, where does the message go? In Rhino7, you were able to read it from the “out” tab.

Anyone, any idea???

@woojsung Did you try the above?

@mikity_kogekoge thanks for the reply. sure it works, but I was rather pointing out the inconvenience that the new editor brought in. Thanks anyways!

@woojsung I apologize for the inconvenience and will get that fixed. Here is the ticket for reference

RH-80509 Stderr does not capture exceptions thrown from ScriptInstance

This is fixed in latest 8.6. Exception is now captured by component and added to errors list

1 Like

@eirannejad Thanks for the update. I will give it a try when 8.6 is released.

@eirannejad just so you know, Exception is captured by the component on 8.6. What is the x mark on the left and why do I see the exception message highlighted in red as in your screen capture? It’s very confusing feature- how do I get rid of them? Thanks for the update by the way.

We have improved this in 8.7

  • The exception message now shows on the far right side of the line in red background.
  • The “X” marker can now be clicked to cancel|remove the exception notification