瀏覽代碼

haxe now uses 1-based columns, so no need to +1 that in the eval debugger

Dan Korostelev 8 年之前
父節點
當前提交
5d9c0741af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/macro/eval/evalDebug.ml

+ 1 - 1
src/macro/eval/evalDebug.ml

@@ -55,7 +55,7 @@ let debug_loop jit e f =
 	let line,col1,_,_ = Lexer.get_pos_coords e.epos in
 	let column_matches breakpoint = match breakpoint.bpcolumn with
 		| BPAny -> true
-		| BPColumn i -> i = col1 + 1
+		| BPColumn i -> i = col1
 	in
 	let conn = match ctx.debug.debug_socket with
 		| Some socket -> EvalDebugSocket.make_connection socket