- Jun 6, 2020
- 11,559
- 4,422
Hi all.
I just did a simple test - if I put my code into Try/Catch LastException shows me an error description but doesn't show a line number wher the error happens.
If I run my code without Try/Catch it shows (in red in the log) exact line number, error description but the app crashes.
My question is:
Is it possible to see a line number where the error happenes when I'm using Try/Catch? The problem is that the error happens randomly, error message says someting about attempt to insert nil object from objects (similar to this
this is just an example where I played with try/catch
B4X:
This is what I see in the log
'<B4IExceptionWrapper: Error...
I just did a simple test - if I put my code into Try/Catch LastException shows me an error description but doesn't show a line number wher the error happens.
If I run my code without Try/Catch it shows (in red in the log) exact line number, error description but the app crashes.
My question is:
Is it possible to see a line number where the error happenes when I'm using Try/Catch? The problem is that the error happens randomly, error message says someting about attempt to insert nil object from objects (similar to this
برای دیدن لینک ها باید ثبت نام کنید
) and I'm trying to fugure out what causes this error.this is just an example where I played with try/catch
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
This is what I see in the log
'<B4IExceptionWrapper: Error...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید