Copy large arrays to clipboard in intellij kotlin
Answered
I have large arrays and while at a breakpoint in the debugger I want to copy them to the clipboard. So the array declaration (Kotlin) are like,
pmt_trace = mutableListOf<DataTimePoint>() where the DataTimePoint class is,
data class DataTimePoint (
val time: Double,
var data: Double)
or an array defined as, var pmt_data: DoubleArray = doubleArrayOf()
These arrays are of the size 500000 elements. Does Intellij Idea support copying these arrays to the clipboard while at a debugger breakpoint and if so how is this done? Thanks.
Please sign in to leave a comment.
I tested with a sample project, the main block is that IDEA cannot display all the elements in the console, like this.
Thanks. I pretty much gave up on that idea, worked around it and moved on.