all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jude DaShiell <jdashiel@panix.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, help-gnu-emacs@gnu.org
Subject: Re: Debugging advice
Date: Fri, 16 Jun 2017 18:02:25 -0400 (EDT)	[thread overview]
Message-ID: <alpine.NEB.2.20.1706161800270.20345@panix1.panix.com> (raw)
In-Reply-To: <jwva857y6qk.fsf-monnier+gmane.emacs.help@gnu.org>

I wonder, can something be put in a .emacs file so when emacs encounters 
an initialization error the first problem line number in the .emacs file 
would be stated automatically?

On Fri, 16 Jun 2017, Stefan Monnier wrote:

> Date: Fri, 16 Jun 2017 17:16:38
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Debugging advice
> 
>> My environment is (maybe unfortunately) Cygwin64 under Windows, of course.
>> Occasionally while working emacs stops responding to me and I watch it's
>> memory consumption rise from 407MB to 1533MB along with a ramp in CPU usage.
>> I want to find out what it is doing and can not find any information on how
>> to monitor background activity in Emacs.
>
> A tool I've used for that in the past is the cpu profiler.  Try to
> M-x profiler-start, then try and reproduce the problem and then M-x
> profiler-report.
>
>
>        Stefan
>
>
>

-- 




  reply	other threads:[~2017-06-16 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-16 13:58 Debugging advice Adam Taylor
2017-06-16 16:19 ` Eli Zaretskii
2017-06-16 21:16 ` Stefan Monnier
2017-06-16 22:02   ` Jude DaShiell [this message]
2017-06-17  2:36     ` Alexis

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=alpine.NEB.2.20.1706161800270.20345@panix1.panix.com \
    --to=jdashiel@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.