show line in exception.message
- by Crash893
How would one display what line number caused the error
and is this even possible with the way that .net compiles its exes?
If not is there an automated way for exception.message to display the sub that crapped out?
try
{
int x = textbox1.text;
}
catch(exception ex)
{
messagebox.show(ex.message);
}