Răsfoiți Sursa

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

Dan Korostelev 8 ani în urmă
părinte
comite
5d9c0741af
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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