It's a well-known problem. I set up a web site a while ago: Snippets R Us! to address this issue.
I've seen plenty of times a post that "this must be the problem" (posting a couple of lines of code) and "this can't possibly be the problem" (omitting a whole lot of code).
A useful comment you can make is:
Please post a Minimal, Complete, and Verifiable example Minimal, Complete, and Verifiable example
The Snippets R Us site tries to explain why this is a good idea. Often narrowing down the problem to a small example clarifies in the poster's mind what the issue is, and isn't.
It's a well-known problem. I set up a web site a while ago: Snippets R Us! to address this issue.
I've seen plenty of times a post that "this must be the problem" (posting a couple of lines of code) and "this can't possibly be the problem" (omitting a whole lot of code).
A useful comment you can make is:
Please post a Minimal, Complete, and Verifiable example
The Snippets R Us site tries to explain why this is a good idea. Often narrowing down the problem to a small example clarifies in the poster's mind what the issue is, and isn't.
It's a well-known problem. I set up a web site a while ago: Snippets R Us! to address this issue.
I've seen plenty of times a post that "this must be the problem" (posting a couple of lines of code) and "this can't possibly be the problem" (omitting a whole lot of code).
A useful comment you can make is:
Please post a Minimal, Complete, and Verifiable example
The Snippets R Us site tries to explain why this is a good idea. Often narrowing down the problem to a small example clarifies in the poster's mind what the issue is, and isn't.
It's a well-known problem. I set up a web site a while ago: Snippets R Us! to address this issue.
I've seen plenty of times a post that "this must be the problem" (posting a couple of lines of code) and "this can't possibly be the problem" (omitting a whole lot of code).
A useful comment you can make is:
Please post a Minimal, Complete, and Verifiable example
The Snippets R Us site tries to explain why this is a good idea. Often narrowing down the problem to a small example clarifies in the poster's mind what the issue is, and isn't.