I use Debug.Log for a large portion of my debugging and just in general workflow. It is how I often visualize that my data is correct and things are working the way I expect.
However it seems that Debug.Log can’t handle strings with multiple lines in them. After like 2 newlines, the rest is just cut off.
Since I have complex objects with overriden ToString() methods, this is a real problem.
Does anyone have any suggestions?
The console can handle multiline debug logs just fine. However it doesn’t have a scrollbar for the bottom detail view. But you can still scroll by selecting the text and scroll down that way.
A single debug log text is limited to about 64k characters. If you need more than that, you might want to use a custom logfile instead.
Ran into this as well. If you are using
on your strings for console output, the default is 2 lines of output. If you want the main console scroll view to show more lines you can specify the amount of lines to show from the 3 dot panel on the right of the Console tab. ![alt text][2]