M
M
Maxim Morozov2014-09-10 12:48:01
JavaScript
Maxim Morozov, 2014-09-10 12:48:01

IE11 and incomplete information in Console.log(), how to overcome?

In all browsers, console.log() displays everything that is passed to it. In IE 11, when displaying a string, everything that exceeds approximately 1100 characters is truncated. How to deal with it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Morozov, 2014-10-27
@murzix

Took a temporary solution - in 11 ie there is a method console.dirxml () There is no limit on the size of the output data. My data was in XML so this solved the problem

P
Pasha, 2014-09-10
@korovnikiss

Don't use IE.

D
Dima Pautov, 2014-09-10
@bootd

Apparently in ie 11 there is a limit on the number of characters displayed in the console. If my memory serves me, then nothing can be changed in the console, at least at the js level. Try alerting or outputting directly to the document while debugging the code.

K
Konstantin Kitmanov, 2014-09-10
@k12th

Options:
* Log in parts
* Leave only the most critical in the logs
* Take an external logger

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question