[Debugger] Need to chop off the []'d generic type arguments before using GetType()

Thanks to Benjamin Cooley for reporting this issue.