Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #404 from nineway/devtoolserror
Browse files Browse the repository at this point in the history
Updated check for errors in the debugging section
  • Loading branch information
lee-dohm authored Nov 30, 2017
2 parents 05aa93a + fc853fb commit 1b021af
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions content/hacking-atom/sections/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,18 +202,22 @@ You can determine which fonts are being used to render a specific piece of text

#### Check for Errors in the Developer Tools

When an unexpected error occurs Atom, you will normally see a red notification which provides details about the error and allows you to create an issue on the right repository:
When an unexpected error occurs in Atom, you will normally see a red notification which provides details about the error and allows you to create an issue on the right repository:

![Exception Notification](../../images/exception-notification.png)

If you can reproduce the error, use this approach to get the full stack trace and [report the issue](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#submitting-issues).

Not all errors are logged with a notification so if you suspect you're experiencing an error but there's no notification, you can also look for errors in the developer tools Console tab. To access the Console tab, press <kbd class="platform-mac">Alt-Cmd-I</kbd><kbd class="platform-windows platform-linux">Ctrl-Shift-I</kbd> to open developer tools and then click the Console tab:

![DevTools Error](../../images/devtools-error.png)

If there are multiple errors, you can scroll down to the bottom of the panel to see the most recent error. Or while reproducing an error, you can right click in the Console tab panel, select `Clear console` to remove all Console output, and then reproduce the error to see what errors are logged to the Console tab.

{{#note}}

**Note:** When running in Dev Mode, the developer tools are automatically shown with the error logged in the Console tab.

![DevTools Error](../../images/devtools-error.png)

{{/note}}

#### Find Crash Logs
Expand Down

0 comments on commit 1b021af

Please sign in to comment.