Re: [fpc-pascal] Debug Advice needed

2019-05-21 Thread Alexander Grotewohl
I'm not sure your familiarity with debuggers but you would set a breakpoint inside your code and step through until it crashes, perhaps watching a few variables to ensure their contents are correct.Since it would work similar to turbo pascal and by extension, more modern "clone"/work-alikes, the vi

[fpc-pascal] Debug Advice needed

2019-05-21 Thread James Richters
I have this program that is confounding me.It obtains a file name with GetOpenFileNameA then it processes the file and draws stuff on the screen, then loops back and gets another file name until GetOpenFileNameA returns a falseā€¦ so as long as I keep giving it files it keeps running and if I