diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-07-22 02:30:57 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-07-22 02:30:57 +0800 |
commit | 7b85802a0fede74217dd702ddda9bea1154517eb (patch) | |
tree | 055d903420fb1e04bc01d8bc542b389581ca4b41 /docs/state_dump.md | |
parent | 4a9d5b1c258912acedd6f1e89fb632526d9c910b (diff) | |
parent | 6658bea8d444281491718f8eee7bc3ae42f91b69 (diff) | |
download | tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.gz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.bz2 tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.lz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.xz tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.tar.zst tangerine-wallet-browser-7b85802a0fede74217dd702ddda9bea1154517eb.zip |
Merge branch 'master' into usd-conversion
Diffstat (limited to 'docs/state_dump.md')
-rw-r--r-- | docs/state_dump.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/state_dump.md b/docs/state_dump.md new file mode 100644 index 000000000..ecb863982 --- /dev/null +++ b/docs/state_dump.md @@ -0,0 +1,15 @@ +# How to take a State Dump + +Sometimes a UI bug is hard to reproduce, but we'd like to rapidly develop against the application state that caused the bug. + +In this case, a MetaMask developer will sometimes ask a user with a bug to perform a "state dump", so we can use some internal tools to reproduce and fix the bug. + +To take a state dump, follow these steps: + +1. Get the MetaMask popup to the point where it shows the bug (the developer will probably specify exactly where). +2. Right click on the extension popup UI, and in the menu, click "Inspect". This will open the developer tools. +3. In case it isn't already selected, click the "Console" tab in the new Developer Tools window. +4. In the console, type this command exactly: `logState()`. This should print a bunch of JSON text into your console. +5. Copy that printed JSON text +6. *Optional*: Annonymize that text if you'd like (you may change all instances of an account address to another valid account address, for example) We may automate the anonymization in the future. +7. Send that JSON text to the developer, ideally pasting it in the issue regarding the bug. |