unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: c/c++ project management and debugging
Date: Wed, 22 Dec 2010 11:25:44 +0100	[thread overview]
Message-ID: <87fwtqums7.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 6d58027e-6ed1-41f6-8653-fbcd42236b68@w2g2000yqb.googlegroups.com

Elena <egarrulo@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.

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.


> "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.

M-! uptime RET
 11:21:56 up 4 days,  8:01, 14 users,  load average: 0.85, 0.83, 0.82
(uptime) C-x C-e
 "Up 4d 6h 58m 47s (Sat 2010-12-18 04:23:14), 56 buffers, 5 files"


ssh voyager.informatimago.com uptime
 11:17:47 up 79 days,  6:51,  0 users,  load average: 0.11, 0.03, 0.01
ssh voyager.informatimago.com emacsclient -e '\(uptime\)'
".EMACS: Up 70d 6h 47m 51s (Wed 2010-10-13 05:30:20), 8 buffers, 1 files"



-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


  parent reply	other threads:[~2010-12-22 10:25 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 [this message]
2010-12-22 12:34                           ` Elena
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87fwtqums7.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).