DEV Community

Discussion on: What's the dumbest bug you caused yourself

Collapse
 
ardennl profile image
Arden de Raaij

Editing in development environment while watching another environment for changes that never come. I'm afraid to say I've wasted way too much time wondering why nothing worked.

Collapse
 
kammy_smb profile image
kammy

This has happened so many times to me it's quite embarrassing at this point

Collapse
 
hrmny profile image
Leah

Yeah happened to me a lot, or copying a file and then editing the original expecting the copy to change

Collapse
 
sir_wernich profile image
Wernich ️

oh man, similar thing. we have a project that loads two other projects as modules. the one module uses hardlinks so you're able to change the JS/cshtml while it's running. the other project was never set up that way (probably because it was going to be a temporary project). the projects are combined in VS with a "combined" project that has everything in one place so we don't need to run three instances of VS.

so instead of stopping, changing and rebuilding, i would just edit the js/cshtml files that were copied to the main project when everything builds, then copying the changed files back to the project's source directories...

... except when i didn't copy and thought it was safe to rebuild. lost my work so many times. facepalm

Collapse
 
abandonedfridge profile image
Daniel Nielson

How about freaking out over why changes aren't posting to dev only to realize you've been pushing to production... Yeah, me neither...🤫🙄

Collapse
 
kayis profile image
K • Edited

Classic. Wrong file/folder/server is the first I look when helping a co-worker debugging.

Next: permissions

Also: Caching

(Still happens to me all the time xD)

Collapse
 
gregorgonzalez profile image
Gregor Gonzalez

This is really common. Happened to me when I work on multiple projects at same time. Also when I have many copies "app" "app1" "app2" "apptest"

Collapse
 
ptasker profile image
Peter Tasker

Oh man, so much this.

Collapse
 
ardennl profile image
Arden de Raaij

I like how many people relate. Makes me feel slightly less idiotic 😂

Collapse
 
sabatesduran profile image
Dídac

So many times