Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
runtime error line 1 if lib
when a runtime error happens inside a lib it only tells there's an error on line 1.

this makes developing a multi-file project a problem.

you need to be very careful with a lot of code or else you won't be able to find the problem.
I thought I was smart and fixed it, but then I realized it just made it worse, haha.

I can get the correct line numbers while merging a library's bytecode with the program that's compiling. No problem there. But unless I change the layout of the generated binaries there is absolutely no information available about to which file (main or library) a certain instruction belongs. So, currently, I could give you the correct line number but not the correct source file.

I can fix this somehow, of course, but it's bigger than I thought, so ... not today, sorry.

Forum Jump:

Users browsing this thread: 1 Guest(s)