In answering questions, sometimes the new users don't know how to do simple debugging. I was thinking of creating a resource which would provide information on how to do that here on Stack Overflow.
I was thinking I would ask a question such as "How do I debug my Java code?" and answer it myself. Plus, if another person gives a better answer, I could accept theirs instead.
I did find a similar question How can I debug my code?
However, it is tagged with netbeans - and I would like to provide multiple IDE examples.
I suppose really my questions are the following:
- In general, should I ask a question I know the answer too if I think it will be useful to others? Is there a more useful way to post something like this, here on Stack Overflow?
- In this case, should I ask the question? Or, should I add it to the existing question even though all of it doesn't apply to that question?
The question that this question is marked a duplicate of is asking about a user who is seeking additional answers to the one he already has.
If it is to be considered a duplicate, I think my question is more valuable to the site since it has better quality and more direct answers. According to Here the other question should be closed instead, in my opinion.