quattj
Member
I have a program that parses a file for all sorts of content using a buffer. I am now experiencing a strange issue where I have a test file that I know doesn't parse correctly, and I am trying to debug why. However, when I load this particular file with my program, the debugger simply will NOT stop at ANY breakpoint, so it always errors out. If I comment out the tiny section of code where it lists the error when it stops working (line 552 in a parsing script, which reads bytes from the buffer), it will finish the (incomplete) parsing of the file, but still will not stop at any breakpoints. If I load a different file before or after this file, the breakpoints will activate for those other files, but not this one file. I can put 100 breakpoints before line 552 and it will not stop. I can put 100 breakpoints after line 552 (after commenting it out) and it will not stop.
If I put a breakpoint in my main object just before the file load dialog, it will break. Then I hit F10 to step and get the load dialog. As soon as it's loaded, again all breakpoints, stepping, anything debug just goes out the window.
What gives?
If I put a breakpoint in my main object just before the file load dialog, it will break. Then I hit F10 to step and get the load dialog. As soon as it's loaded, again all breakpoints, stepping, anything debug just goes out the window.
What gives?
Last edited: