| 1 |
at Main.main(Main.java:13) |
| 2 |
at Main.main(Main.java:13) Same but with some additional notes |
| 3 |
at com.foo.bar.Main$FooBar.main(Native Method) |
| 4 |
at Main$FooBar.<init>(Unknown Source) |
| 5 |
at java.base/java.util.jar.JavaUtilJarAccessImpl.ensureInitialization(JavaUtilJarAccessImpl.java:69) |
| 6 |
at java.base/java.lang.Class.forName0(Native Method) |
| 7 |
at com.foo.loader/[email protected]/com.foo.Main.run(Main.java:101) |
| 8 |
at com.foo.loader//com.foo.bar.App.run(App.java:12) |
| 9 |
at [email protected]/org.acme.Lib.test(Lib.java:80) |
| 10 |
at MyClass.mash(MyClass.java:9) |
| 11 |
|
| 12 |
// not to forget our swiss friends |
| 13 |
at at.foo.bar.Main$FooBar.main(Native Method) |
| 14 |
|
| 15 |
---------------------------------------------------- |
| 16 |
|
| 17 |
[ |
| 18 |
["stack-frame", [ |
| 19 |
["keyword", "at"], |
| 20 |
["class-name", "Main"], |
| 21 |
["punctuation", "."], |
| 22 |
["function", "main"], |
| 23 |
["punctuation", "("], |
| 24 |
["source", [ |
| 25 |
["file", "Main.java"], |
| 26 |
["punctuation", ":"], |
| 27 |
["line-number", "13"] |
| 28 |
]], |
| 29 |
["punctuation", ")"] |
| 30 |
]], |
| 31 |
|
| 32 |
["stack-frame", [ |
| 33 |
["keyword", "at"], |
| 34 |
["class-name", "Main"], |
| 35 |
["punctuation", "."], |
| 36 |
["function", "main"], |
| 37 |
["punctuation", "("], |
| 38 |
["source", [ |
| 39 |
["file", "Main.java"], |
| 40 |
["punctuation", ":"], |
| 41 |
["line-number", "13"] |
| 42 |
]], |
| 43 |
["punctuation", ")"] |
| 44 |
]], |
| 45 |
" Same but with some additional notes\r\n", |
| 46 |
|
| 47 |
["stack-frame", [ |
| 48 |
["keyword", "at"], |
| 49 |
["namespace", [ |
| 50 |
"com", |
| 51 |
["punctuation", "."], |
| 52 |
"foo", |
| 53 |
["punctuation", "."], |
| 54 |
"bar", |
| 55 |
["punctuation", "."] |
| 56 |
]], |
| 57 |
["class-name", "Main$FooBar"], |
| 58 |
["punctuation", "."], |
| 59 |
["function", "main"], |
| 60 |
["punctuation", "("], |
| 61 |
["source", [ |
| 62 |
["keyword", "Native Method"] |
| 63 |
]], |
| 64 |
["punctuation", ")"] |
| 65 |
]], |
| 66 |
|
| 67 |
["stack-frame", [ |
| 68 |
["keyword", "at"], |
| 69 |
["class-name", "Main$FooBar"], |
| 70 |
["punctuation", "."], |
| 71 |
["function", "<init>"], |
| 72 |
["punctuation", "("], |
| 73 |
["source", [ |
| 74 |
["keyword", "Unknown Source"] |
| 75 |
]], |
| 76 |
["punctuation", ")"] |
| 77 |
]], |
| 78 |
|
| 79 |
["stack-frame", [ |
| 80 |
["keyword", "at"], |
| 81 |
["module", [ |
| 82 |
"java", |
| 83 |
["punctuation", "."], |
| 84 |
"base" |
| 85 |
]], |
| 86 |
["punctuation", "/"], |
| 87 |
["namespace", [ |
| 88 |
"java", |
| 89 |
["punctuation", "."], |
| 90 |
"util", |
| 91 |
["punctuation", "."], |
| 92 |
"jar", |
| 93 |
["punctuation", "."] |
| 94 |
]], |
| 95 |
["class-name", "JavaUtilJarAccessImpl"], |
| 96 |
["punctuation", "."], |
| 97 |
["function", "ensureInitialization"], |
| 98 |
["punctuation", "("], |
| 99 |
["source", [ |
| 100 |
["file", "JavaUtilJarAccessImpl.java"], |
| 101 |
["punctuation", ":"], |
| 102 |
["line-number", "69"] |
| 103 |
]], |
| 104 |
["punctuation", ")"] |
| 105 |
]], |
| 106 |
|
| 107 |
["stack-frame", [ |
| 108 |
["keyword", "at"], |
| 109 |
["module", [ |
| 110 |
"java", |
| 111 |
["punctuation", "."], |
| 112 |
"base" |
| 113 |
]], |
| 114 |
["punctuation", "/"], |
| 115 |
["namespace", [ |
| 116 |
"java", |
| 117 |
["punctuation", "."], |
| 118 |
"lang", |
| 119 |
["punctuation", "."] |
| 120 |
]], |
| 121 |
["class-name", "Class"], |
| 122 |
["punctuation", "."], |
| 123 |
["function", "forName0"], |
| 124 |
["punctuation", "("], |
| 125 |
["source", [ |
| 126 |
["keyword", "Native Method"] |
| 127 |
]], |
| 128 |
["punctuation", ")"] |
| 129 |
]], |
| 130 |
|
| 131 |
["stack-frame", [ |
| 132 |
["keyword", "at"], |
| 133 |
["class-loader", [ |
| 134 |
"com", |
| 135 |
["punctuation", "."], |
| 136 |
"foo", |
| 137 |
["punctuation", "."], |
| 138 |
"loader" |
| 139 |
]], |
| 140 |
["punctuation", "/"], |
| 141 |
["module", [ |
| 142 |
"foo", |
| 143 |
["punctuation", "@"], |
| 144 |
["version", "9.0"] |
| 145 |
]], |
| 146 |
["punctuation", "/"], |
| 147 |
["namespace", [ |
| 148 |
"com", |
| 149 |
["punctuation", "."], |
| 150 |
"foo", |
| 151 |
["punctuation", "."] |
| 152 |
]], |
| 153 |
["class-name", "Main"], |
| 154 |
["punctuation", "."], |
| 155 |
["function", "run"], |
| 156 |
["punctuation", "("], |
| 157 |
["source", [ |
| 158 |
["file", "Main.java"], |
| 159 |
["punctuation", ":"], |
| 160 |
["line-number", "101"] |
| 161 |
]], |
| 162 |
["punctuation", ")"] |
| 163 |
]], |
| 164 |
|
| 165 |
["stack-frame", [ |
| 166 |
["keyword", "at"], |
| 167 |
["class-loader", [ |
| 168 |
"com", |
| 169 |
["punctuation", "."], |
| 170 |
"foo", |
| 171 |
["punctuation", "."], |
| 172 |
"loader" |
| 173 |
]], |
| 174 |
["punctuation", "/"], |
| 175 |
["punctuation", "/"], |
| 176 |
["namespace", [ |
| 177 |
"com", |
| 178 |
["punctuation", "."], |
| 179 |
"foo", |
| 180 |
["punctuation", "."], |
| 181 |
"bar", |
| 182 |
["punctuation", "."] |
| 183 |
]], |
| 184 |
["class-name", "App"], |
| 185 |
["punctuation", "."], |
| 186 |
["function", "run"], |
| 187 |
["punctuation", "("], |
| 188 |
["source", [ |
| 189 |
["file", "App.java"], |
| 190 |
["punctuation", ":"], |
| 191 |
["line-number", "12"] |
| 192 |
]], |
| 193 |
["punctuation", ")"] |
| 194 |
]], |
| 195 |
|
| 196 |
["stack-frame", [ |
| 197 |
["keyword", "at"], |
| 198 |
["module", [ |
| 199 |
"acme", |
| 200 |
["punctuation", "@"], |
| 201 |
["version", "2.1"] |
| 202 |
]], |
| 203 |
["punctuation", "/"], |
| 204 |
["namespace", [ |
| 205 |
"org", |
| 206 |
["punctuation", "."], |
| 207 |
"acme", |
| 208 |
["punctuation", "."] |
| 209 |
]], |
| 210 |
["class-name", "Lib"], |
| 211 |
["punctuation", "."], |
| 212 |
["function", "test"], |
| 213 |
["punctuation", "("], |
| 214 |
["source", [ |
| 215 |
["file", "Lib.java"], |
| 216 |
["punctuation", ":"], |
| 217 |
["line-number", "80"] |
| 218 |
]], |
| 219 |
["punctuation", ")"] |
| 220 |
]], |
| 221 |
|
| 222 |
["stack-frame", [ |
| 223 |
["keyword", "at"], |
| 224 |
["class-name", "MyClass"], |
| 225 |
["punctuation", "."], |
| 226 |
["function", "mash"], |
| 227 |
["punctuation", "("], |
| 228 |
["source", [ |
| 229 |
["file", "MyClass.java"], |
| 230 |
["punctuation", ":"], |
| 231 |
["line-number", "9"] |
| 232 |
]], |
| 233 |
["punctuation", ")"] |
| 234 |
]], |
| 235 |
|
| 236 |
"\r\n\r\n// not to forget our swiss friends\r\n", |
| 237 |
["stack-frame", [ |
| 238 |
["keyword", "at"], |
| 239 |
["namespace", [ |
| 240 |
"at", |
| 241 |
["punctuation", "."], |
| 242 |
"foo", |
| 243 |
["punctuation", "."], |
| 244 |
"bar", |
| 245 |
["punctuation", "."] |
| 246 |
]], |
| 247 |
["class-name", "Main$FooBar"], |
| 248 |
["punctuation", "."], |
| 249 |
["function", "main"], |
| 250 |
["punctuation", "("], |
| 251 |
["source", [ |
| 252 |
["keyword", "Native Method"] |
| 253 |
]], |
| 254 |
["punctuation", ")"] |
| 255 |
]] |
| 256 |
] |
| 257 |
|
| 258 |
---------------------------------------------------- |
| 259 |
|
| 260 |
Checks for stack frames. |