@@ -97,13 +97,13 @@ void testNoSubsequentCaptureAfterFirst() throws Exception {
97
97
98
98
// DeepOops exception stacktrace:
99
99
// java.lang.RuntimeException: oops
100
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException(ServerDebuggerTestApplication.java:190)
101
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5(ServerDebuggerTestApplication.java:210)
102
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4(ServerDebuggerTestApplication.java:206)
103
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException3(ServerDebuggerTestApplication.java:202)
104
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException2(ServerDebuggerTestApplication.java:198)
105
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException1(ServerDebuggerTestApplication.java:194)
106
- // ddog .smoketest.debugger.ServerDebuggerTestApplication.runTracedMethod(ServerDebuggerTestApplication.java:140)
100
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException(ServerDebuggerTestApplication.java:190)
101
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5(ServerDebuggerTestApplication.java:210)
102
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4(ServerDebuggerTestApplication.java:206)
103
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException3(ServerDebuggerTestApplication.java:202)
104
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException2(ServerDebuggerTestApplication.java:198)
105
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException1(ServerDebuggerTestApplication.java:194)
106
+ // datadog .smoketest.debugger.ServerDebuggerTestApplication.runTracedMethod(ServerDebuggerTestApplication.java:140)
107
107
@ Test
108
108
@ DisplayName ("test3CapturedFrames" )
109
109
@ DisabledIf (
@@ -135,23 +135,23 @@ void test3CapturedFrames() throws Exception {
135
135
assertEquals (
136
136
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
137
137
assertEquals (
138
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException" ,
138
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException" ,
139
139
snapshot .getStack ().get (0 ).getFunction ());
140
140
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
141
141
// snapshot 1
142
142
snapshot = snapshots .get (snapshotId1 );
143
143
assertEquals (
144
144
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
145
145
assertEquals (
146
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5" ,
146
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5" ,
147
147
snapshot .getStack ().get (0 ).getFunction ());
148
148
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
149
149
// snapshot 2
150
150
snapshot = snapshots .get (snapshotId2 );
151
151
assertEquals (
152
152
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
153
153
assertEquals (
154
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4" ,
154
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4" ,
155
155
snapshot .getStack ().get (0 ).getFunction ());
156
156
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
157
157
return true ;
@@ -196,39 +196,39 @@ void test5CapturedFrames() throws Exception {
196
196
assertEquals (
197
197
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
198
198
assertEquals (
199
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException" ,
199
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithException" ,
200
200
snapshot .getStack ().get (0 ).getFunction ());
201
201
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
202
202
// snapshot 1
203
203
snapshot = snapshots .get (snapshotId1 );
204
204
assertEquals (
205
205
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
206
206
assertEquals (
207
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5" ,
207
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException5" ,
208
208
snapshot .getStack ().get (0 ).getFunction ());
209
209
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
210
210
// snapshot 2
211
211
snapshot = snapshots .get (snapshotId2 );
212
212
assertEquals (
213
213
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
214
214
assertEquals (
215
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4" ,
215
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException4" ,
216
216
snapshot .getStack ().get (0 ).getFunction ());
217
217
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
218
218
// snapshot 3
219
219
snapshot = snapshots .get (snapshotId3 );
220
220
assertEquals (
221
221
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
222
222
assertEquals (
223
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException3" ,
223
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException3" ,
224
224
snapshot .getStack ().get (0 ).getFunction ());
225
225
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
226
226
// snapshot 4
227
227
snapshot = snapshots .get (snapshotId4 );
228
228
assertEquals (
229
229
"oops" , snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
230
230
assertEquals (
231
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException2" ,
231
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithDeepException2" ,
232
232
snapshot .getStack ().get (0 ).getFunction ());
233
233
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
234
234
return true ;
@@ -262,7 +262,7 @@ void testLambdaHiddenFrames() throws Exception {
262
262
"lambdaOops" ,
263
263
snapshot .getCaptures ().getReturn ().getCapturedThrowable ().getMessage ());
264
264
assertEquals (
265
- "ddog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithLambdaException" ,
265
+ "datadog .smoketest.debugger.ServerDebuggerTestApplication.tracedMethodWithLambdaException" ,
266
266
snapshot .getStack ().get (0 ).getFunction ());
267
267
assertFullMethodCaptureArgs (snapshot .getCaptures ().getReturn ());
268
268
return true ;
0 commit comments