Hacker News new | ask | show | jobs
by justinclift 1103 days ago
> How do people wrriting golang everyday deal with this problem?

For your development setup, have everything run in a docker container and use breakpoints in your IDE to catch program flow. Similar to what you do with a standard/monolith program.

Is this the kind of thing you're asking about, or something different?

1 comments

channels specifically. These are queues where one side is the producer and other the consumer and they don't share a single call stack.

How do I know where the call chain goes after I have produced on a channel? There can be many subscribers on the same channel.

I guess I amasking to debug a multithreaded program to get some kind of unifrom stack trace.

Ahhh yeah. As another commenter mentioned, OpenTracing and Jaeger works for that. :)