Re: Editor don't indicate the line is set breakpoint

Peter Cheung <[email protected]> Sat, 1 Jul 2017 11:33:03 +0000
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <HK2PR0401MB142763BE4692D8F2C90D09A3B5D00@HK2PR0401MB1427.apcprd04.prod.outlook.com>
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/themes/dz20/images/ArticleImg_7.jpg]<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://avatars0.githubusercontent.com/u/878437?v=3&s=400]<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 to DebuggerManager object 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