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 181535

Summary: Add LineBreakpoint into Debugger Core API
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: common_debugger, issues
Priority: P2 Keywords: API
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 181481    

Description Martin Entlicher 2010-03-04 09:29:29 UTC
Line breakpoints are independent of a particular language. All debuggers likely have a concept of line breakpoints. Therefore to make it easier to integrate a new debugger, a LineBreakpoint class should be introduced with properties like URL and a line number.

Debugger Core UI could then provide a LineToggleBreakpoint action, that would submit a line breakpoint. That action can be registered for the desired MIME type.
Comment 1 Martin Entlicher 2010-03-04 09:32:36 UTC
We might need an abstraction for other breakpoint types as well to solve issues like #181481.
Comment 2 Vladimir Voskresensky 2010-03-04 11:29:22 UTC
Thanks!