1

When I'm building my programs, I have a number of try-catch blocks and when they throw errors, I seem to have trouble seeing what caused the error - I've tried looking at the stack-trace but I always end up commenting out the error handling and re-running.

Is there a better way? (I'm sure there must be ...)

If every time I have to comment out the bits of my try-catch to figure out why it was throwing it seems like I should be able to look at the stack-trace or something. Sorry if it's a simple question but it should have a simple answer ...

4

1 に答える 1