all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Elena <egarrulo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: c/c++ project management and debugging
Date: Wed, 22 Dec 2010 04:34:16 -0800 (PST)	[thread overview]
Message-ID: <86126496-de72-4e5c-9443-5cfce30f28ab@15g2000vbz.googlegroups.com> (raw)
In-Reply-To: 87fwtqums7.fsf@kuiper.lan.informatimago.com

On Dec 22, 10:25 am, "Pascal J. Bourguignon" <p...@informatimago.com>
wrote:
> Elena <egarr...@gmail.com> writes:
> > On Dec 22, 9:48 am, "Pascal J. Bourguignon" <p...@informatimago.com>
> > wrote:
> >> Elena <egarr...@gmail.com> writes:
> >> > Moreover, when your heavily customized Emacs start to "misbehave" what
> >> > can you do?  Start "emacs -Q" and begin evaluating sexps.  Oh, what an
> >> > advanced debugging aid!  
>
> >> Contrarily to IDEs, emacs has a true debugger, and a true REPL, and a
> >> whole lisp development environment.
>
> > Pascal, talk is cheap, show me the debugger: my Emacs 23 hangs every
> > few seconds.  How can I fix it with the help of such wonderful tools?
>
> If you experiment hangs up, then you should debug them with gdb, because
> they're bugs in the virtual machine.

No need to bring in the bigger guns.  It could just be some scheduled
activity by who-knows what package.  If Emacs Lisp had both a tracing
and a profiling utility, I would have squashed the bug already.

> If you have bug in emacs, then the first thing to do is
> M-x set-variable RET debug-on-error RET t RET
> so that any error breaks into the emacs lisp debugger.

Oh, already done.  That's easy.  No error whatsoever.

>
> > "emacs -Q" followed by evaluating each sexp in my init file is not
> > allowed.
>
> > Where is your goddess now?  Have a nice day.
>
> This is not my experience.  What I observe, is that emacs has an uptime
> only limited by the uptime of the underlying system.

"emacs -Q" is effective in deciding whether something comes from
Emacs' default behavior or from some package.  Once you have decided
it must be some package, that's the hairy part where Emacs debugging
tools aren't up to the task.  That's why I have said that users have
pushed Emacs beyond its capabilities:  IDE, mail-reader... guys, here
we have just a simple text editor which doesn't pretend to by anything
else.


  reply	other threads:[~2010-12-22 12:34 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 11:39 c/c++ project management and debugging Rajinder Yadav
2010-12-20 13:47 ` Andrea Crotti
2010-12-20 15:52   ` Suvayu Ali
     [not found]   ` <mailman.1.1292860380.13743.help-gnu-emacs@gnu.org>
2010-12-20 16:36     ` despen
2010-12-20 17:00       ` Jason Earl
2010-12-21  0:23   ` Rajinder Yadav
2010-12-21  1:28     ` Andrea Crotti
2010-12-21 12:00       ` Rajinder Yadav
2010-12-21 12:30         ` Andrea Crotti
2010-12-21 12:27       ` Rajinder Yadav
     [not found]       ` <mailman.3.1292932824.3904.help-gnu-emacs@gnu.org>
2010-12-21 13:10         ` Elena
2010-12-21 13:35           ` Elena
2010-12-21 14:06             ` Andrea Crotti
     [not found]             ` <mailman.5.1292940435.31822.help-gnu-emacs@gnu.org>
2010-12-21 14:25               ` Richard Riley
2010-12-21 20:26               ` Elena
2010-12-21 21:43                 ` Pascal J. Bourguignon
2010-12-22  8:19                   ` Elena
2010-12-22 15:54                   ` Richard Riley
2010-12-23  0:45                     ` Pascal J. Bourguignon
2010-12-23  8:34                       ` Elena
2010-12-23  8:38                         ` Pascal J. Bourguignon
2010-12-23  8:50                           ` Elena
2010-12-23 13:07                       ` Richard Riley
2010-12-23 13:32                         ` Pascal J. Bourguignon
2010-12-23 14:33                           ` Richard Riley
2010-12-23 13:35                         ` Elena
2010-12-24  5:42                         ` rusi
2010-12-24  8:58                         ` Gary
2010-12-24  9:05                         ` Gary
     [not found]                         ` <mailman.9.1293181132.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:09                           ` Richard Riley
2010-12-24 11:35                             ` Elena
2011-01-10 10:07                             ` Gary
     [not found]                             ` <mailman.4.1294654218.11614.help-gnu-emacs@gnu.org>
2011-01-10 11:04                               ` Richard Riley
2011-01-10 12:37                                 ` Gary
2011-01-10 12:55                                 ` Pascal J. Bourguignon
2011-01-10 13:49                                   ` Richard Riley
2011-01-10 14:54                                     ` Le Wang
2011-01-10 15:30                                       ` Gary
     [not found]                                       ` <mailman.7.1294673476.7472.help-gnu-emacs@gnu.org>
2011-01-10 16:18                                         ` Richard Riley
2011-01-11  7:20                                           ` Gary
2011-01-11 16:55                                           ` Andreas Röhler
     [not found]                                           ` <mailman.0.1294764952.30016.help-gnu-emacs@gnu.org>
2011-01-11 17:56                                             ` rusi
     [not found]                                     ` <mailman.5.1294671316.7472.help-gnu-emacs@gnu.org>
2011-01-10 15:24                                       ` Richard Riley
     [not found]                         ` <mailman.11.1293181565.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:12                           ` Richard Riley
     [not found]                         ` <mailman.13.1293183850.17958.help-gnu-emacs@gnu.org>
2010-12-24 11:15                           ` Richard Riley
2010-12-21 23:09                 ` Andrea Crotti
2010-12-21 21:42               ` Pascal J. Bourguignon
2010-12-21 14:30           ` Rajinder Yadav
     [not found]           ` <mailman.0.1292941865.1790.help-gnu-emacs@gnu.org>
2010-12-21 14:52             ` Richard Riley
2010-12-21 16:42               ` Rajinder Yadav
     [not found]               ` <mailman.3.1292949766.3175.help-gnu-emacs@gnu.org>
2010-12-21 20:35                 ` Elena
2010-12-21 21:51               ` Pascal J. Bourguignon
2010-12-22  8:28                 ` Elena
2010-12-22  8:50                   ` Elena
2010-12-22  9:48                     ` Pascal J. Bourguignon
2010-12-22 10:06                       ` Elena
2010-12-22 10:22                         ` Elena
2010-12-22 10:58                           ` Andrea Crotti
     [not found]                           ` <mailman.2.1293015509.3728.help-gnu-emacs@gnu.org>
2010-12-22 11:16                             ` Pascal J. Bourguignon
2010-12-22 12:38                               ` Elena
2010-12-22 13:32                                 ` Pascal J. Bourguignon
2010-12-22 13:51                                   ` Elena
2010-12-22 15:09                                     ` Andrea Crotti
2010-12-22 15:53                                     ` Pascal J. Bourguignon
2010-12-22 15:09                                 ` Helmut Eller
2010-12-22 21:46                                   ` Elena
2010-12-22 10:25                         ` Pascal J. Bourguignon
2010-12-22 12:34                           ` Elena [this message]
2010-12-22 13:04                             ` Andrea Crotti
     [not found]                             ` <mailman.8.1293023060.3728.help-gnu-emacs@gnu.org>
2010-12-22 13:29                               ` Elena
2010-12-22 14:12                                 ` Andrea Crotti
     [not found]                                 ` <mailman.3.1293027192.25158.help-gnu-emacs@gnu.org>
2010-12-22 14:43                                   ` Elena
2010-12-22 15:46                                     ` Andrea Crotti
2010-12-23 12:35                               ` Elena
2010-12-23 13:01                                 ` Eli Zaretskii
2010-12-24 11:38                                 ` Andrea Crotti
     [not found]                                 ` <mailman.2.1293190750.15516.help-gnu-emacs@gnu.org>
2010-12-24 12:55                                   ` Richard Riley
2010-12-24 14:18                                     ` Pascal J. Bourguignon
2010-12-24 14:32                                       ` Richard Riley
2010-12-25 16:17                                       ` rusi
2010-12-25 17:12                                         ` Pascal J. Bourguignon
2010-12-22 13:35                             ` Pascal J. Bourguignon
2010-12-22  9:57                     ` Andrea Crotti
2010-12-21 21:47             ` Pascal J. Bourguignon
2010-12-21 13:44         ` despen
2010-12-21 14:27           ` Richard Riley
2010-12-21 19:08         ` Jason Earl
2010-12-21 20:41           ` Elena
     [not found]   ` <mailman.14.1292891000.3394.help-gnu-emacs@gnu.org>
2010-12-21  5:13     ` Jason Earl
2010-12-21 14:36       ` Rajinder Yadav
2010-12-21 14:40         ` Rajinder Yadav
     [not found] <mailman.7.1292845153.32310.help-gnu-emacs@gnu.org>
2010-12-20 12:36 ` Elena
2011-01-11  8:55   ` Dmitriy Igrishin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86126496-de72-4e5c-9443-5cfce30f28ab@15g2000vbz.googlegroups.com \
    --to=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.