Closed
Description
The VM Service currently generates random 64bit integers for things like Isolate.number
. Some clients (such as JS and Lua) store numbers as double-precision floating point numbers with a max value of 2^53:
To avoid compatibility issues, it would be better if the VM Service didn't use numbers above 2^53 for these randomly assigned identifiers.
Although in some cases there are string versions of these identifiers, for convenience of clients using both DAP and the VM Service at the same time, we use the Isolate.number
in DAP's threadID
(which is an integer and we cannot change) so the strings do not help.
(FYI @bkonyi @christopherfujino)