How to view exception details?


(Mark Currie) #1

I’m in the process of updating my project to RemObjects with value-type collections. I’m getting lots of “ArgumentNullException: Value cannot be null.” exceptions. This is to be expected.

In Silver, when I click “View Details” it shows Syntax Error. I really need to see details on the inner exception in to understand what to fix. I have a C# project that depends on the swift one, and in C#, I can inspect the inner exception in the debugger. I can actually see the exception details for this type of exception, and it’s actually very informative.


(Carlo Kok) #2

hrmm that sounds like a bug. For now you can do debug/window/locals to see the current exception.

(RemObjects) #3

Thanks, logged as bugs://81467

(Mark Currie) #4

Debug windows weren’t revealing the exception values either. The exception was occurring when a static field was first accessed, the exception was thrown during construction of an object, if that helps.

I was able to access the inner exception by placing do/catch around the code that triggered it.