▲ | hippo22 5 days ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Most languages let you print the stack, so you can easily see the stack using print debugging. Anecdotally, dynamic expressions are impossibly slow in the cases I’ve tried them. As the author mentions, there are also a number of cases where debuggers don’t work. Personally, I’m going to reach for the tool that always works vs. sometimes works. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | ksenzee 5 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
> I’m going to reach for the tool that always works vs. sometimes works. This is only logical if you're limited to one tool. Would you never buy a power tool because sometimes the power goes out and a hand tool is your only choice? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | nchmy 5 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
but can you go back in the stack and inspect the variables and related functions there in print debugging? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|