| Summary: | Info about "Toggle Tracepoint" has a slightly incomplete statement about the expression | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | David M. Karr <davidmichaelkarr> |
| Component: | Doc | Assignee: | JDT-Doc-Inbox <jdt-doc-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sarika.sinha |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
The "New and Noteworthy" page that describes "Toggle Tracepoint" has the following statement: "This makes use of another new feature of conditional breakpoints: As long as the condition doesn't explicitly return a boolean true, the condition is now considered to implicitly return false, and the breakpoint will not suspend execution. " This is arguably incorrect, with respect to the statement about "explicitly return a boolean true", focusing on the "explicitly" part. If the provided statement is the following: System.setProperty("debug", "true") Then Eclipse complains (I can't remember what the error message is). The key point is that the "setProperty()" method returns java.lang.String. In order to get this expression to work, I had to change it to: System.out.println(System.setProperty("debug", "true"))