Well, maybe on installing CND, the CCPLITE modules should get
uninstalled and vice-versa.

Gj

On Tue, Oct 4, 2022 at 9:38 PM antonio <[email protected]> wrote:
>
> Hi all,
>
> A quick update on the status of cnd and cpplite.
>
> 1. Both cnd and cpplite want to register different stuff for the
> text/x-c++, text/x-c, text/x-h, etc. mimetypes.
>
> 1.1. I tried to create "text/x-c++-cpplite", "text/x-c-cpplite" (etc)
> mimetypes by trying to see if a FileObject belongs to a CND project or a
> cpplite project. This would be the cleanest approach to keep cnd and
> cpplite happy, but I didn't get it.
>
> 1.2. I then dropped the cpplite editor so only cnd registers mimetypes.
> This worked well, but both cnd and cpplite register breakpoints in the
> editor in different ways, for the same mimetype [1], so cpplite
> breakpoints didn't work.
>
> 2. I then checked out cnd, merged latest master, dropped cpplite and cnd
> seems to build and work perfectly.
>
> El 16/5/22 a las 14:59, Martin Balin escribió:
> > I would really like to keep CPPLite inside NetBeans. It is used for GraalVM 
> > Native Image debugging to work with GDB and adapting this feature to work 
> > CND will be overkill also with respect to size of CND.
> > If needed then CPPLite project can be removed to mix with CND.
> > Martin
>
> So after all these tests I think making cpplite coexist with cnd is
> going to be impossible (any hints welcome, of course).
>
> cpplite also registers a LSP server for both text/x-c and another one
> for text/x-c++, so projects that mix both C and C++ will probably
> restart the LSP server when users change focus between C and C++ files.
> That may be a problem users are reporting in the nbusers mailing list.
>
> By the way, I'd like to know how to run a "GraalVM Native Image"
> debugging session. Since I have little spare time for NetBeans lately
> I'd appreciate instructions on how to do this.
>
> Kind regards,
> Antonio
>
>
> [1]
>
> Actions provider in CPPLITE:
> https://github.com/apache/netbeans/blob/master/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/breakpoints/CPPLiteBreakpointActionProvider.java#L43
>
> Actions provider in CND:
> https://github.com/apache/netbeans/blob/cnd/cnd/cnd.debugger.common2/src/org/netbeans/modules/cnd/debugger/common2/debugger/actions/ToggleBreakpointActionProvider.java#L62
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to