Got Claude code to debug a memory leak that was causing my system to crash within a few minutes of the leak starting by creating the conditions for the leak, running Claude with dangerously-skip-permissions, and telling Claude it had a few minutes to figure out what was going on before the system died
It actually managed to figure it out by inspecting the jobs that were causing the system crash in real time. Here’s what it found:
Runs ROOT's test script again: concurrently npm:test:ui npm:test:server npm:test:plugin
This creates ANOTHER cd plugin && npm test
Infinite recursion!
Took maybe 3 runs (and by ‘run’ I mean ‘system crash’ lmao). Each time the system crashed I would reload claude with the previous transcript and go ‘system crashed, pick up where you left off’ and I’d restart the leak. Shockingly effective, end to end the whole debug took ~15 minutes.
Oct 29
at
3:09 AM
Relevant people
Log in or sign up
Join the most interesting and insightful discussions.