VSCodeLuaDebug icon indicating copy to clipboard operation
VSCodeLuaDebug copied to clipboard

Only the first breakpoint works

Open litianqi opened this issue 7 years ago • 2 comments

If my program has entered a breakpoint once, it will never stop at any other breakpoints, and even if I removed that breakpoint, it is actually still out there, debugger will still stop at that line.

Could you kindly tell me what is the reason most likely to be? My debuggee.start() is successful, and I have debuggee.poll() called every frame.

litianqi avatar Jan 12 '18 06:01 litianqi

The most likely reason is.... not calling debuggee.poll(). Ha ha. Could you explain your environment?

lee-seungjae avatar Jan 12 '18 22:01 lee-seungjae

Found the reason, directory seperator doesn't seem to match. Inside my breakpointsPerPath: image

And my env is win7 + lua5.3

litianqi avatar Jan 15 '18 04:01 litianqi