Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Lensflare In that case type checks have to be added to the start of the function to make sure, the input triggering the bug is of the expected type.
After that in-brain static analysis can be performed as usual, because the language literally doesn't matter when you actually do a full static analysis of all execution paths yourself (which i definitely don't do for 99.999% of the code i write). -
@Lensflare AAAAAAA AAAAAAAA
AAAAAre you sure there is NO debugger? None? null? !1? -
hjk10157312yIf you already isolated the issue to this particular function. Extract the function write table driven tests for it until you find the issue or have full line coverage. If you have full coverage and the undesired output is still not present you need to do every combination of lines possible. If it still does not occur it's likely not that function.
-
ITT
> me, whining about a complicated task
> people, telling me what I should do, and "what I should do" is exactly the reason why I'm posting this in the first place
Related Rants
Some undocumented, never touched, 15 years old recursive function at the core of our business model suddenly stops working in a niche scenario, debugger is not available and I have to find out why.
rant
i'm so very fucking sad
documentation
recursion
javascript