@@ -98,7 +98,7 @@ public static void teardownClass() {
98
98
99
99
/**
100
100
* Sets the last relevant event set
101
- *
101
+ *
102
102
* @param set
103
103
* event set
104
104
*/
@@ -108,7 +108,7 @@ protected void setEventSet(DebugEvent[] set) {
108
108
109
109
/**
110
110
* Returns the last relevant event set
111
- *
111
+ *
112
112
* @return event set
113
113
*/
114
114
protected DebugEvent [] getEventSet () {
@@ -117,7 +117,7 @@ protected DebugEvent[] getEventSet() {
117
117
118
118
/**
119
119
* Returns the breakpoint manager
120
- *
120
+ *
121
121
* @return breakpoint manager
122
122
*/
123
123
protected IBreakpointManager getBreakpointManager () {
@@ -126,7 +126,7 @@ protected IBreakpointManager getBreakpointManager() {
126
126
127
127
/**
128
128
* Returns the source folder with the given name in the given project.
129
- *
129
+ *
130
130
* @param name
131
131
* source folder name
132
132
* @return package fragment root
@@ -159,7 +159,7 @@ protected IHyperlink getHyperlink(int offset, IDocument doc) {
159
159
/**
160
160
* Launches the given configuration and waits for an event. Returns the source of the event. If the event is not received, the launch is
161
161
* terminated and an exception is thrown.
162
- *
162
+ *
163
163
* @param configuration
164
164
* the configuration to launch
165
165
* @param waiter
@@ -174,7 +174,7 @@ protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWai
174
174
/**
175
175
* Launches the given configuration and waits for an event. Returns the source of the event. If the event is not received, the launch is
176
176
* terminated and an exception is thrown.
177
- *
177
+ *
178
178
* @param configuration
179
179
* the configuration to launch
180
180
* @param waiter
@@ -205,7 +205,7 @@ protected Object launchAndWait(ILaunchConfiguration configuration, DebugEventWai
205
205
/**
206
206
* Launches the build file with the given name, and waits for a suspend event in that program. Returns the thread in which the suspend event
207
207
* occurred.
208
- *
208
+ *
209
209
* @param buildFileName
210
210
* the build file to launch
211
211
* @return thread in which the first suspend event occurred
@@ -219,7 +219,7 @@ protected AntThread launchAndSuspend(String buildFileName) throws Exception {
219
219
/**
220
220
* Launches the given configuration in debug mode, and waits for a suspend event in that program. Returns the thread in which the suspend event
221
221
* occurred.
222
- *
222
+ *
223
223
* @param config
224
224
* the configuration to launch
225
225
* @return thread in which the first suspend event occurred
@@ -234,7 +234,7 @@ protected AntThread launchAndSuspend(ILaunchConfiguration config) throws Excepti
234
234
/**
235
235
* Launches the build file with the given name, and waits for a breakpoint-caused suspend event in that program. Returns the thread in which the
236
236
* suspend event occurred.
237
- *
237
+ *
238
238
* @param buildFileName
239
239
* the build file to launch
240
240
* @return thread in which the first suspend event occurred
@@ -246,7 +246,7 @@ protected AntThread launchToBreakpoint(String buildFileName) throws Exception {
246
246
/**
247
247
* Launches the build file with the given name in a separate VM, and waits for a breakpoint-caused suspend event in that program. Returns the
248
248
* thread in which the suspend event occurred.
249
- *
249
+ *
250
250
* @param buildFileName
251
251
* the build file to launch
252
252
* @return thread in which the first suspend event occurred
@@ -258,7 +258,7 @@ protected AntThread launchToBreakpointSepVM(String buildFileName) throws Excepti
258
258
/**
259
259
* Launches the build file with the given name, and waits for a breakpoint-caused suspend event in that program. Returns the thread in which the
260
260
* suspend event occurred.
261
- *
261
+ *
262
262
* @param buildFileName
263
263
* the build file to launch
264
264
* @param register
@@ -277,7 +277,7 @@ protected AntThread launchToBreakpoint(String buildFileName, boolean register, b
277
277
/**
278
278
* Launches the given configuration in debug mode, and waits for a breakpoint-caused suspend event in that program. Returns the thread in which
279
279
* the suspend event occurred.
280
- *
280
+ *
281
281
* @param config
282
282
* the configuration to launch
283
283
* @return thread in which the first suspend event occurred
@@ -289,7 +289,7 @@ protected AntThread launchToBreakpoint(ILaunchConfiguration config) throws CoreE
289
289
/**
290
290
* Launches the given configuration in debug mode, and waits for a breakpoint-caused suspend event in that program. Returns the thread in which
291
291
* the suspend event occurred.
292
- *
292
+ *
293
293
* @param config
294
294
* the configuration to launch
295
295
* @param register
@@ -308,7 +308,7 @@ protected AntThread launchToBreakpoint(ILaunchConfiguration config, boolean regi
308
308
/**
309
309
* Launches the build file with the given name, and waits for a terminate event in that program. Returns the debug target in which the suspend
310
310
* event occurred.
311
- *
311
+ *
312
312
* @param buildFileName
313
313
* the build file to execute
314
314
* @return debug target in which the terminate event occurred
@@ -329,7 +329,7 @@ protected AntDebugTarget launchAndTerminate(String buildFileName, boolean sepVM)
329
329
/**
330
330
* Launches the given configuration in debug mode, and waits for a terminate event in that program. Returns the debug target in which the
331
331
* terminate event occurred.
332
- *
332
+ *
333
333
* @param config
334
334
* the configuration to launch
335
335
* @param timeout
@@ -351,7 +351,7 @@ protected AntDebugTarget debugLaunchAndTerminate(ILaunchConfiguration config, in
351
351
/**
352
352
* Launches the build file with the given name, and waits for a line breakpoint suspend event in that program. Returns the thread in which the
353
353
* suspend event occurred.
354
- *
354
+ *
355
355
* @param buildFileName
356
356
* the build file to execute
357
357
* @param bp
@@ -367,7 +367,7 @@ protected AntThread launchToLineBreakpoint(String buildFileName, ILineBreakpoint
367
367
/**
368
368
* Launches the given configuration in debug mode, and waits for a line breakpoint suspend event in that program. Returns the thread in which the
369
369
* suspend event occurred.
370
- *
370
+ *
371
371
* @param config
372
372
* the configuration to launch
373
373
* @param bp
@@ -395,7 +395,7 @@ protected AntThread launchToLineBreakpoint(ILaunchConfiguration config, ILineBre
395
395
396
396
/**
397
397
* Resumes the given thread, and waits for another breakpoint-caused suspend event. Returns the thread in which the suspend event occurs.
398
- *
398
+ *
399
399
* @param thread
400
400
* thread to resume
401
401
* @return thread in which the first suspend event occurs
@@ -406,7 +406,7 @@ protected AntThread resume(AntThread thread) throws Exception {
406
406
407
407
/**
408
408
* Resumes the given thread, and waits for another breakpoint-caused suspend event. Returns the thread in which the suspend event occurs.
409
- *
409
+ *
410
410
* @param thread
411
411
* thread to resume
412
412
* @param timeout
@@ -430,7 +430,7 @@ protected AntThread resume(AntThread thread, int timeout) throws Exception {
430
430
/**
431
431
* Resumes the given thread, and waits for a suspend event caused by the specified line breakpoint. Returns the thread in which the suspend event
432
432
* occurs.
433
- *
433
+ *
434
434
* @param resumeThread
435
435
* thread to resume
436
436
* @return thread in which the first suspend event occurs
@@ -462,7 +462,7 @@ protected AntThread resumeToLineBreakpoint(AntThread resumeThread, ILineBreakpoi
462
462
463
463
/**
464
464
* Resumes the given thread, and waits for the debug target to terminate (i.e. finish/exit the program).
465
- *
465
+ *
466
466
* @param thread
467
467
* thread to resume
468
468
*/
@@ -479,7 +479,7 @@ protected void exit(AntThread thread) throws Exception {
479
479
480
480
/**
481
481
* Resumes the given thread, and waits for the associated debug target to terminate.
482
- *
482
+ *
483
483
* @param thread
484
484
* thread to resume
485
485
* @return the terminated debug target
@@ -511,7 +511,7 @@ protected IResource getBreakpointResource(String typeName) throws Exception {
511
511
512
512
/**
513
513
* Creates and returns a line breakpoint at the given line number in the given build file
514
- *
514
+ *
515
515
* @param lineNumber
516
516
* line number
517
517
* @param file
@@ -523,7 +523,7 @@ protected AntLineBreakpoint createLineBreakpoint(int lineNumber, IFile file) thr
523
523
524
524
/**
525
525
* Creates and returns a line breakpoint at the given line number in the given build file.
526
- *
526
+ *
527
527
* @param lineNumber
528
528
* line number
529
529
* @param buildFileName
@@ -544,7 +544,7 @@ protected void terminateAndRemove(AntThread thread) throws CoreException {
544
544
545
545
/**
546
546
* Terminates the given debug target and removes its launch.
547
- *
547
+ *
548
548
* NOTE: all breakpoints are removed, all threads are resumed, and then the target is terminated. This avoids defunct processes on linux.
549
549
*/
550
550
protected void terminateAndRemove (AntDebugTarget debugTarget ) throws CoreException {
@@ -588,7 +588,7 @@ protected void removeAllBreakpoints() throws CoreException {
588
588
589
589
/**
590
590
* Returns the first breakpoint the given thread is suspended at, or <code>null</code> if none.
591
- *
591
+ *
592
592
* @return the first breakpoint the given thread is suspended at, or <code>null</code> if none
593
593
*/
594
594
protected IBreakpoint getBreakpoint (IThread thread ) {
@@ -601,7 +601,7 @@ protected IBreakpoint getBreakpoint(IThread thread) {
601
601
602
602
/**
603
603
* Performs a step over in the given stack frame and returns when complete.
604
- *
604
+ *
605
605
* @param frame
606
606
* stack frame to step in
607
607
*/
@@ -621,7 +621,7 @@ protected AntThread stepOver(AntStackFrame frame) throws DebugException {
621
621
622
622
/**
623
623
* Performs a step over in the given stack frame and expects to hit a breakpoint as part of the step over
624
- *
624
+ *
625
625
* @param frame
626
626
* stack frame to step in
627
627
*/
@@ -641,7 +641,7 @@ protected AntThread stepOverToHitBreakpoint(AntStackFrame frame) throws DebugExc
641
641
642
642
/**
643
643
* Performs a step into in the given stack frame and returns when complete.
644
- *
644
+ *
645
645
* @param frame
646
646
* stack frame to step in
647
647
*/
@@ -661,7 +661,7 @@ protected AntThread stepInto(AntStackFrame frame) throws DebugException {
661
661
662
662
/**
663
663
* Performs a step return in the given stack frame and returns when complete.
664
- *
664
+ *
665
665
* @param frame
666
666
* stack frame to step return from
667
667
*/
@@ -681,7 +681,7 @@ protected AntThread stepReturn(AntStackFrame frame) throws DebugException {
681
681
682
682
/**
683
683
* Performs a step into with filters in the given stack frame and returns when complete.
684
- *
684
+ *
685
685
* @param frame
686
686
* stack frame to step in
687
687
*/
@@ -709,7 +709,7 @@ protected AntThread stepIntoWithFilters(AntStackFrame frame) throws DebugExcepti
709
709
710
710
/**
711
711
* Performs a step return with filters in the given stack frame and returns when complete.
712
- *
712
+ *
713
713
* @param frame
714
714
* stack frame to step in
715
715
*/
@@ -737,7 +737,7 @@ protected AntThread stepReturnWithFilters(AntStackFrame frame) throws DebugExcep
737
737
738
738
/**
739
739
* Performs a step over with filters in the given stack frame and returns when complete.
740
- *
740
+ *
741
741
* @param frame
742
742
* stack frame to step in
743
743
*/
@@ -765,7 +765,7 @@ protected AntThread stepOverWithFilters(AntStackFrame frame) throws DebugExcepti
765
765
766
766
/**
767
767
* Returns the compilation unit with the given name.
768
- *
768
+ *
769
769
* @param project
770
770
* the project containing the CU
771
771
* @param root
@@ -784,7 +784,7 @@ protected ICompilationUnit getCompilationUnit(IJavaProject project, String root,
784
784
785
785
/**
786
786
* Sets the current set of Debug / Other preferences to use during each test
787
- *
787
+ *
788
788
* @since 3.5
789
789
*/
790
790
protected void setPreferences () {
0 commit comments