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 - Add LineBreakpoint into Debugger Core API
Summary: Add LineBreakpoint into Debugger Core API
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: API
Depends on:
Blocks: 181481
  Show dependency tree
 
Reported: 2010-03-04 09:29 UTC by Martin Entlicher
Modified: 2010-03-10 03:39 UTC (History)
2 users (show)

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 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!