By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,238 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,238 IT Pros & Developers. It's quick & easy.

good editor

P: n/a
Can anyone suggest me a good editor for tracing code?

I got a software with about 400,000 lines of source code in C/C++ with
a complicate structure. It mess me up pretty soon whenever I try to
trace for some relationship between this function and another by using
vi or emacs. I guess that I need your suggestion for a better one. I
use solaris, but with a window for MS Window2000 hardwired in my Sun
box. So either system would be fine, except the MS window size is not
large - a little inconvenience for many windows in MS Window2000.

Thanks!

Theodore
Nov 14 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a

"Theodore" <xs**@radonc.duke.edu> wrote in message
news:89**************************@posting.google.c om...
Can anyone suggest me a good editor for tracing code?

I got a software with about 400,000 lines of source code in C/C++ with
a complicate structure. It mess me up pretty soon whenever I try to
trace for some relationship between this function and another by using
vi or emacs. I guess that I need your suggestion for a better one. I
use solaris, but with a window for MS Window2000 hardwired in my Sun
box. So either system would be fine, except the MS window size is not
large - a little inconvenience for many windows in MS Window2000.

<OT>
I am using Visual SlickEdit. I run it on Windows and Linux . IIRC, it
supports Sparc Solaris and other Unix platforms, too . I don't know how
complicated you need on the editor, but this one works pretty good for me.

</OT>

Vu
Nov 14 '05 #2

P: n/a
xs**@radonc.duke.edu (Theodore) wrote in
news:89**************************@posting.google.c om:
Can anyone suggest me a good editor for tracing code?
Tracing?
I got a software with about 400,000 lines of source code in C/C++ with
Which is it, C or C++?
a complicate structure. It mess me up pretty soon whenever I try to
trace for some relationship between this function and another by using
vi or emacs. I guess that I need your suggestion for a better one. I
use solaris, but with a window for MS Window2000 hardwired in my Sun
box. So either system would be fine, except the MS window size is not
large - a little inconvenience for many windows in MS Window2000.


I believe there are newsgroups that discuss editors and their
capabilities, however, to be sure comp.lang.c isn't one of them.

<OT>
CodeWright from www.borland.com
</OT>

--
- Mark ->
--
Nov 14 '05 #3

P: n/a
Use kate
then click on tools => highlight mode => sources
then click c++

Nov 14 '05 #4

P: n/a
xs**@radonc.duke.edu (Theodore) writes:
Can anyone suggest me a good editor for tracing code?


Try comp.editors.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://www.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"
Nov 14 '05 #5

P: n/a
Theodore wrote:

Can anyone suggest me a good editor for tracing code?

I got a software with about 400,000 lines of source code in C/C++ with
a complicate structure. It mess me up pretty soon whenever I try to
trace for some relationship between this function and another by using
vi or emacs. I guess that I need your suggestion for a better one. I
use solaris, but with a window for MS Window2000 hardwired in my Sun
box. So either system would be fine, except the MS window size is not
large - a little inconvenience for many windows in MS Window2000.


I believe you are looking for the wrong tools - see subject
change.

Your first requirement is a good cross reference generator. You
can find xref.exe for use on DOS/Windows, which will handle up to
26 files, as a component of nmalloc.zip on my site below, download
section. Another thing to look at, especially for interactive
use, is Cscope.

I hope you are able to make minor changes and verify
functionality. I am thinking of such things as marking routines
as static to permanently record that they have no influence
outside a particular source file. Binary comparisions of old and
new object files will often do for verification.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 14 '05 #6

P: n/a

Can anyone suggest me a good editor for tracing code?


[OT]
I use Vim. Vim supports tags. You may be interested in reading
an article (written by me) about Vim usage.

You can find it here: http://www.geocities.com/vijoeyz/articles.html

[/OT]
Nov 14 '05 #7

P: n/a
xs**@radonc.duke.edu (Theodore) wrote in message news:<89**************************@posting.google. com>...
Can anyone suggest me a good editor for tracing code?

I got a software with about 400,000 lines of source code in C/C++ with
a complicate structure. It mess me up pretty soon whenever I try to
trace for some relationship between this function and another by using
vi or emacs. I guess that I need your suggestion for a better one. I
use solaris, but with a window for MS Window2000 hardwired in my Sun
box. So either system would be fine, except the MS window size is not
large - a little inconvenience for many windows in MS Window2000.

Thanks!

Theodore


If I understand your problem properly, you need something like:
STI Understand for C++ : http://www.scitools.com/

This is from their site:
"Understand for C++ is a reverse engineering, documentation and
metrics tool for C and C++ source code. It offers code navigation
using a detailed cross reference, a syntax colorizing "smart" editor,
and a variety of graphical reverse engineering views. Understand for
C++ is an interactive development environment (IDE) designed to help
maintain and understand large amounts of legacy or newly created C and
C++ source code."

Hope this helps!
Regards,
Manish
Nov 14 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.