<div dir="ltr"><br><div><div><div><div><div><div><div>To reproduce<br><br></div>1. debugger:start()<br></div>2. Move Monitor window to secondary monitor (to LHS in my case)<br></div>3. Module / Interpret (choose module)<br>
</div>4. Open Module View window<br>
</div>5. It will crash as soon as there is a mouse move event with:<br><br>Error in process <0.2844.0> with exit value: {badarith,[{dbg_ui_trace_win,handle_event,2,[{file,"dbg_ui_trace_win.erl"},{line,696}]},{dbg_ui_view,loop,1,[{file,"dbg_ui_view.erl"},{line,77}]}]}<br>
<br></div>line is:<br><br>dbg_ui_trace_win.erl<br>696 {coords, {gs:read(Win, x)+LastX-5, gs:read(Win, y)+LastY-5}};<br><br></div>Workaround: Open the module view window before moving it to secondary monitor, and then it won't crash.<br>
<br>===<br><div><br>Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]<br><br>Linux Mint 64bit: 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux<br>
<br></div><div>1st Monitor: Samsung 22" 1680 x 1050<br></div>2nd Monitor: Dell 19" 1290 x 1024</div>