I'm not sure why the web IDE would crash - but it's possible that it's because trace is outputting the string contents on a single line. Trace wasnt really meant for dumping such large amounts of data. Personally I'd just use content.length and content. substr to check small parts of the string are correct.
I'm planning on adding partial read support - but that may be a while away...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
How big is the file?
I'm not sure why the web IDE would crash - but it's possible that it's because trace is outputting the string contents on a single line. Trace wasnt really meant for dumping such large amounts of data. Personally I'd just use
content.length
andcontent. substr
to check small parts of the string are correct.I'm planning on adding partial read support - but that may be a while away...