Describe the bug
Trash can only hides log entries, but they reappear once you log one more event.
To Reproduce
Steps to reproduce the behavior:
- Download svelte template
npx degit sveltejs/template svelte-app
- Go to directory:
cd svelte-app
- Install deps:
npm i
- Add interctivity to this demo: open
svelte-app/src/App.svelte and in <script> tag add let count = 0; const add = () => count += 1; then in <main> tag add <p on:click={add}>Count {count}</p>
- Start server with
npn run dev and go to wherever that starts
- Open Svelte DevTools, restart page, go to profiler
- Click on "count" a few times to create a bunch of events
- Click on "trash can" and see that all events disappeared (expected)
- Click on "count" once more and see that all deleted measurements come back (unexpected)
Expected behavior
I expect trash can to delete all measurements, not hide them temporarily
Environment
- Browser with version Chrome 91
- Devtools version DevTools 1.3.0 and current master
- Svelte version 3.0.0
Additional context
I'm just documening everything that looks like a bug before refactoring for #44.
Describe the bug
Trash can only hides log entries, but they reappear once you log one more event.
To Reproduce
Steps to reproduce the behavior:
npx degit sveltejs/template svelte-appcd svelte-appnpm isvelte-app/src/App.svelteand in<script>tag addlet count = 0; const add = () => count += 1;then in<main>tag add<p on:click={add}>Count {count}</p>npn run devand go to wherever that startsExpected behavior
I expect trash can to delete all measurements, not hide them temporarily
Environment
Additional context
I'm just documening everything that looks like a bug before refactoring for #44.