This project has moved. For the latest updates, please go here.
1

Closed

Watching a cell in debugger changes state

description

If a cell has a numeric value and the RichText property is evaluated, the dataType is set to "Text", and the value will return a string instead of a double.
 
This is annoying when debugging, because when the debugger watches a cell, the RichText property is evaluated.
 
If this side effect is by design, I recommend adding
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
to the RichText property in both the XLCell class and the IXLCell interface.
 
This makes the RichText property invisible to the debugger, and avoids the unnecessary state changes.
Closed Apr 25 at 9:39 PM by igitur
Please try the latest version of ClosedXML (v0.87.1 at this stage). If you still experience the issue, log it on the new GitHub page.

comments