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
-
Ace714258937yOmg why is this so hard for people to understand!?!?
Client: Its not working
Dev: What happened?
Client: I don't know I got an error
Dev: What was it?
Client: I don't know I closed it out.
Dev: Well what were you trying to when you got the error?
Client: I don't remember -
One possibility :
1- create function to save text in a log file (for calling)
Call it at the beginning of every function and in the end (start function xyz, end function xyz), that way you know what function is giving an error.
If your code have exceptions you can also add custom error messages to the log. -
Root797677y@RodrigoF One better: a tagging log system with timestamps and indent levels.
This way you can list info, warnings, errors, events, etc. and keep track of depth in a very easy-to-read format.
Related Rants
-
rephiscorth38Everyone here ranting about a fucking missing semicolon. I can't remember the last time a missing semicolon wa...
-
CodesNotHot11-Laughed at Gitlab the other day -Accidentally dropped my db today. fuck karma
-
codeclod15When you have a super annoying problem that Google has been unable to help with... But you stumble upon a link...
9pm Project Manager: We have to push an update TONIGHT
9.45pm Devs: okay guys, all latest bugs are fixed, just needs final check and we can push the update
10:45pm Devs: Guys?...
11:45pm Guy in charge of testing: Uh doesn't work...
- What doesn't work?
- I dunno, I get an error message
- What's the (fucking) error message?!
Aaaaand silence
Fuck this I'm going to bed.
rant
no respect
fuck