When I step into something wrong, pdb logs a message like this: (Pdb) n NameError: "global name ...s not defined" Is there some setting to get it to expand the ... It's annoying to have to restart not under pdb to see what error actually was. Thanks, Bruce.