int i = 2; // what do you use as a throwaway line when you just need something to breakpoint on?

Posted by rektide on Stack Overflow See other posts from Stack Overflow or by rektide
Published on 2009-03-13T02:38:26Z Indexed on 2010/05/18 2:00 UTC
Read the original article Hit count: 160

Filed under:

Whenever I want a breakpoint someplace where there isnt anything to break on just (inside a loop, &c), I tend to automatically drop down a:

int i = 2;

I'm curious what others use.

© Stack Overflow or respective owner

Related posts about debugging