Why is a string containing a JSON formatted date converted in the debugger variables section?

1
Does anybody know why the Mendix Debugger (8.5.1) shows a string like '/Date(1574899200000)/' in the variables section as '2019-11-28T00:00:00Z’ ? In a message the StringTestDate still shows the original value offcourse: This makes it pretty difficult to debug MicroFlows. From the debugger you might expect that the StringTestDate contains '2019-11-28T00:00:00Z’ and might be converted to a DateTime variable using the ParseDateTime function then.
asked
2 answers
1

Fixed in 8.16:

https://docs.mendix.com/releasenotes/studio-pro/8.16#fixes

  • We fixed an issue where the debugger displayed string variables incorrectly when the contents of the string looked like a JSON date. (Tickets 104725)
answered
0

Hi,

I don’t know why the debugger does that, but we also noticed that the debugger tries to interpret strings as a DateTime whenever possible. That also applies to any other string looking like a date.

regards, Fabian

answered