Dreaming of committing suicide suggest that you are trying to escape from something in your waking life. You may feel guilty, regretful, or hopeless about something. The dream may also imply that you have already self-imposed failure and that you need to look at problems from different angles, in a more optimistic way. The dream may also signify the start of a new life and a new you.
To dream of someone else committing suicide implies that you are genuinely concerned for that person, or that this person has changed into someone you don’t like. Alternatively, it may suggest that you have similar traits with that person of which you would rather not.