This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253280 - Show error annotations for conditional breakpoints that cannot be honored
Summary: Show error annotations for conditional breakpoints that cannot be honored
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 17:10 UTC by _ gtzabari
Modified: 2015-07-01 17:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2015-07-01 17:10:03 UTC
When a user creates a conditional breakpoint and the provided condition cannot be evaluated, the breakpoint should display an error annotation.

This annotation can only exist at runtime since the condition is only evaluated at runtime.

This way, normal users can hide the Debugger Console and still get error messages like this:

  "entry" is not a known variable in the current context.

The idea is to move user-oriented messages to annotations and shift the target audience of the Debugger Console to Netbeans developers. Normal users shouldn't need it open.