I'll talk frankly and this isn't directed at anyone in particular. Feeling suicidal is no different than holding a gun up to your own head to get what you want. In most cases it's what you want from yourself, not from others. Others around you can cry out in horror, they can try to talk you down, they can offer you alternatives, etc but it can often turn to noise because you are the one that has to live with this.
Let's just consider for a second what you would you say to yourself to talk yourself out of a suicide, assuming you could separate yourself from the situation just a second? You know yourself better than anyone else. In spite of the confusion depression brings, what part of yourself is so unbearable, so insufferable so flawed that you have to point a gun to its head to get it to behave or get resolution? Now, put yourself in the position of the bystander, show sympathy to the person holding the gun, and talk them through it. The alternative is to wallow at your suicidal predicament while forgetting that you are the one holding the gun to your head in the first place. Only a small fraction of your operating system is behaving in this flawed way, but it's bogging down the whole system. You owe it to yourself to keep investigating. Obviously, easier said than done, but you get better at it. You need to do anything you can to support your healing. Medication, therapy and anything else to break and weaken the pattern. One day you'll have the luxury of looking back and saying thank God I didn't do something like that over such a simple misunderstanding, but until that day, it needs to be afforded the proper respect. I feel for your suffering and pray you'll see the light of day again. Anything I can do to help, let me know.