Re: Editor don't indicate the line is set breakpoint
geertjan wielenga <[email protected]> Sat, 1 Jul 2017 13:34:43 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Best to reread the Kotlin plugin sources: https://github.com/JetBrains/kotlin-netbeans/tree/master/src/main/java/org/jetbrains/kotlin/debugger Gj On 1-7-2017 13:33, Peter Cheung wrote: > > I has ACTION_TOGGLE_BREAKPOINT and i can toggle the breakpoint, but > the editor just don't render the breakpoint. Let me re-read the tutorial > > > > ------------------------------------------------------------------------ > *From:* geertjan wielenga <[email protected]> > *Sent:* Saturday, July 1, 2017 6:19 PM > *To:* [email protected] > *Subject:* [platform-dev] Re: Editor don't indicate the line is set > breakpoint > > > Based on this article: > > https://dzone.com/articles/how-reuse-netbeans-debugger > > <https://dzone.com/articles/how-reuse-netbeans-debugger> > > How to Reuse the NetBeans Platform Debugger Architecture ... > <https://dzone.com/articles/how-reuse-netbeans-debugger> > dzone.com > This tutorial will demonstrate creating a debugger for a custom > programming language via the NetBeans Debugger Core API. The debugger > built in this tutorial will not ... > > > > ...you need ACTION_TOGGLE_BREAKPOINT: > > > Take a look at the Kotlin plugin, for example: > > https://github.com/JetBrains/kotlin-netbeans/blob/master/src/main/java/org/jetbrains/kotlin/debugger/KotlinToggleBreakpointActionProvider.java > > <https://github.com/JetBrains/kotlin-netbeans/blob/master/src/main/java/org/jetbrains/kotlin/debugger/KotlinToggleBreakpointActionProvider.java> > > JetBrains/kotlin-netbeans > <https://github.com/JetBrains/kotlin-netbeans/blob/master/src/main/java/org/jetbrains/kotlin/debugger/KotlinToggleBreakpointActionProvider.java> > github.com > kotlin-netbeans - Kotlin Plugin for NetBeans https://kotlinlang.org > > > > Gj > > On 1-7-2017 11:55, Peter Cheung wrote: >> >> Hi All >> >> >> I have successfully add the breakpoint toDebuggerManagerobject but >> source code editor don't indicate the line is set breakpoint, no red >> highlight on that line. Which claass/tutorial/thing i should look at? >> >> >> https://github.com/mcheung63/Netbeans-R >> >> >> Thanks >> >> from Peter >> >