debugger minmax wip