Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331417

Summary: Add breakpoint suspend policy 'continue'
Product: [Eclipse Project] JDT Reporter: Sergey <gorbush>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Sergey CLA 2010-11-30 07:00:25 EST
Build Identifier: SpringSource Tool Suite   Version: 2.3.2.  RELEASE Build Id: 201003230009

Please, add new suspend policy value 'continue' to allow to use condition field as some logging replacement without code changes.

For example - type in condition field
System.out.println(new java.util.Date());
return false;

to log time when debugger is on this breakpoint.

Reproducible: Always

Steps to Reproduce:
1) type in condition field
System.out.println(new java.util.Date());
return true;

2) run code with breakpoint several times to log time when debugger is on this breakpoint.
Comment 1 Michael Rennie CLA 2013-12-06 15:01:41 EST
I am going to close this wontfix, reason being you can simply return false from any condition to have the breakpoint never suspend and log infos as you have shown - in effect making a 'tracepoint', which is asked for in bug 71020