How can I get a better position or line detection for errors shown in the debugger, crashing my prog ?
Now I almost finished my prog (20.000 lines) I get errors I didn't experience before.
Sad is that I don't know where the error exactly is created.
The debugger line number shows different and wrong positions like in the code part below : Line 3267 :
[17:47:37] [ERROR] Draw and Move.pbi (Line: 3267)
[17:47:37] [ERROR] Invalid memory access. (read error at address 4128661)
[17:47:42] The Program was killed.
Code: Select all
Procedure MinMax(value.i, bottom.i, top.i)
If value>top
ProcedureReturn top
ElseIf bottom>value
ProcedureReturn bottom
EndIf
ProcedureReturn value [b];<<<< Here is a (read error at address 4128661) <<< (Line: 3267)[/b]
EndProcedure
So ...
Thanks.