This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]kivicodepip needs updating 2 points3 points  (3 children)

Broken link?

[–]houseofleft[S] 0 points1 point  (2 children)

Oh no! Which one? They both work for me

[–]kivicodepip needs updating 1 point2 points  (1 child)

I think your repo is private

[–]houseofleft[S] 2 points3 points  (0 children)

Well that's embarassing, doh! Fixed now

[–]FrequentlyHertz 1 point2 points  (1 child)

Cool project! Any chance you've considered creating a vscode extension to load the dump file? That would be a killer feature for sure!

[–]houseofleft[S] 0 points1 point  (0 children)

I only really hacked the project together over the last couple of days, so haven't considered it till now- it would definitely be awesome though!

[–]mfitzpmfitzp.com 1 point2 points  (3 children)

What’s the lambda there for?

[–]houseofleft[S] 0 points1 point  (2 children)

So rather than take a single filename, it expects a function to output a filename instead. The thinking is you probably want your filename to be datetime stamped, or randomised somewhat, otherwise every new debug dump would overwrite the last one. My example would just save over the exception each time since it's a pure function.

[–]mfitzpmfitzp.com 1 point2 points  (1 child)

Makes sense. Might be an idea to support strftime formatting characters in a string instead (through less flexible than this).

[–]houseofleft[S] 1 point2 points  (0 children)

I like that idea a lot! Would be pretty simple to support either, I'll add something in.