Re: [gedit-list] integrating my IDE debugger with Gedit



On Tue, Apr 3, 2012 at 2:25 PM, Kenneth Dakin <kennethdakin yahoo co uk> wrote:
> Hello,
> I am building an IDE that is essentially a debugger that will display lines
> of code (m/code, dis-assembled m/code, source or compilerr output).
>
> something like this:-
> 1. OFFSET   DATA    DIS_ASSEMBLED                              EXEC COUNT
>    ------------    ---------
> -----------------------------------------------
> ----------------------
>    000204    xxxxxx    xxx(xxx,Rx),yyy(Ry)..                            5
> 2. or this:-
>    Line number OFFSET  SOURCE                                       EXEC
> COUNT
>    ----------------    ----------
> ---------------------------------------            ---------------------
>   0023             000204    some source..
> 5
> 3. or this:-
>   Line number    OFFSET  SOURCE                                       EXEC
> COUNT
>    ----------------      ----------
> ---------------------------------------            ---------------------
>   0023                 000204    first source line
>         5
>                           000206    + macro expansion
>    5
>           current>>>000208    + macro expansion <<<                    5
>   00024               00020A    next source line
>     0
>
> I am wondering if I could use Gedit in some way to combine source editing
> (with custom "prettying") , compile listing, and dis-assembled displays. Can
> I invoke Gedit directly from my C# program (the debugger)  for instance, in
> the .NET environment, and have Gedit then create editable Forms with the
> source code - that has (or will be) annotated or modified by my code via
> exits/hooks.
>
> In other words, does Gedit provide any "hooks" for example, for insertion of
> additional/replacement rich text (by my code) containing such things as
> current line execution counts etc?
> My program needs to be "in control" from the point of view of which part of
> a program is visible at any time and yet also "called" on a line by line
> basis from Qedit to annotate certain lines on-the-fly , ignoring others.
>
> Cheers
> Ken Dakin

Ken,

Excuse the injection into the gedit mailing list, but since you are
already working in C#, perhaps you might be interested in starting (or
contributing to) the Calico Project [1]. We hope to create a generic
interface for many languages, and your debugger ideas might work well
for other languages, too.

The goal of this project is to create an IDE that works for a variety
of programming languages, is cross-platform, written in C#, uses Gtk#,
and hopes to add C#.

Gedit is an inspiration for Calico, but it doesn't currently use any
gedit API, although the plugin system could perhaps be adapted.

-Doug

[1] - http://calicoproject.org/

> I
>
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]