Prechádzať zdrojové kódy

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

Dan Korostelev 8 rokov pred
rodič
commit
5d9c0741af
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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