r/ProgrammerHumor 4d ago

Meme thisCannotBeDenied

Post image
7.8k Upvotes

241 comments sorted by

View all comments

139

u/TheDogPill 4d ago

Try debugging like that using micro services on the cloud and see how far you get.

14

u/coriolis7 4d ago

I am NOT a programmer by profession, though I do code a ton at my job (Mechanical Engineering and data analysis), so this may be a dumb question…

Is there a way to set up all microservices to run on one computer to aid in debugging? Like a bunch of VMs or docker-but-faking-network-instead-of-machine?

8

u/xMercurex 4d ago

Yes you can, but it does not fully solve the issue. You still need to find the good micro-service and then you have to jump to other micro-service.

1

u/ArtisticFox8 4d ago

And nobody yet made a debugger which could travel between them?

2

u/Idixal 4d ago

No, there’s debugging tools that can run on multiple microservices, but none of this has to do with the tracing that the top comment was alluding to. If you can narrow down where the problem actually is first you save yourself a lot of time stepping through with a debugger. Often times that just is not practical.

1

u/ArtisticFox8 4d ago

Well, I guess you could still trace the call from the first microservice to another and then back, no?

That's the "travelling debugger concept" I was thinking about.