Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331417 - Add breakpoint suspend policy 'continue'
Summary: Add breakpoint suspend policy 'continue'
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 07:00 EST by Sergey CLA
Modified: 2013-12-06 15:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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