B
Ben
Hello all
After years of playing developing stuff for fun and personal use I'm
finally developing an app that I am intending to sell. As such, I'm
trying to make it as reliable and stable as possible and also ensuring
that it fails gracefully.
So, I'm trying to use the Erl property of the Err object so the users
get a line number as part of the error if things go wrong to make
troubleshooting easier.
However, it seems that you have to enter the line numbers manually in
your code which seems a little bizarre to me. In VB in VS2003 you can
turn on line numbers - I assumed that would enable line numbers in my
app but it doesn't. All it does it show you the line numbers but doesn't
actually embed them in the code leaving you having to enter your own. It
seems bizarre to me that the "turn on line numbers" or whatever option
is called turns them on for display only, leaving you to manually type
in your own.
Are there any workarounds for this? With all the work I'm going to be
going I really don't want to have to type in line numbers too if I can
possibly help it.
Cheers
Ben
After years of playing developing stuff for fun and personal use I'm
finally developing an app that I am intending to sell. As such, I'm
trying to make it as reliable and stable as possible and also ensuring
that it fails gracefully.
So, I'm trying to use the Erl property of the Err object so the users
get a line number as part of the error if things go wrong to make
troubleshooting easier.
However, it seems that you have to enter the line numbers manually in
your code which seems a little bizarre to me. In VB in VS2003 you can
turn on line numbers - I assumed that would enable line numbers in my
app but it doesn't. All it does it show you the line numbers but doesn't
actually embed them in the code leaving you having to enter your own. It
seems bizarre to me that the "turn on line numbers" or whatever option
is called turns them on for display only, leaving you to manually type
in your own.
Are there any workarounds for this? With all the work I'm going to be
going I really don't want to have to type in line numbers too if I can
possibly help it.
Cheers
Ben