test code working in debugger