Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Guard GDBCDIDebugger exception handling against null messages

Hi,
 
I have discovered that the GDBCDIDebugger.newCoreException() throw an exception of their own if the Throwable which is passed in has a null message. The result is that, if there is any exception during debugging which does not have a message set, then this exception's information is lost and you just get a very general "internal error" message box and a log entry which has a stacktrace pointing to GDBCDIDebugger.newCoreException()  instead of the real problem.
 
Anyway, I have documented this in https://bugs.eclipse.org/bugs/show_bug.cgi?id=151663 and also attached a patch.
 
This is all pretty simple and straightforward but since this is none of "my" code I thought I'd bring it up for everybody's attention and, if no exceptions are raised :-), I'll apply the patch in a day or two.
 
Thanks,
 
 
Norbert Ploett
 
 

Attachment: cdidebuggerguard.diff
Description: cdidebuggerguard.diff


Back to the top