Hi,
I'm using Eclipse 3.8.1 with PyDev 2.7.1.
With the old devserver I could use the interactive debugger simply setting
breakpoints in my code. With devappserver2, though, the breakpoints don't work.
Below you can see the stack trace for an arbitrary Request Handler I was trying
to debug: up to the asterisks, a call to sys.gettrace() returns "<bound method
PyDB.trace_dispatch of <__main__.PyDB instance at 0x02309E90>>". After the
asterisks, sys.gettrace() returns None (meaning there is no debugger available,
as it's stated here: http://stackoverflow.com/a/9502960/567959).
What happened? I'm sure my setup is quite similar to that of the majority of
the developers, so I find this issue really important.
Could you help me?
Thanks and greetings from Spain
('C:\\Python 2.7\\Lib\\threading.py', 525, '__bootstrap',
'self.__bootstrap_inner()')
('C:\\Python 2.7\\Lib\\threading.py', 552, '__bootstrap_inner', 'self.run()')
('C:\\Python 2.7\\Lib\\threading.py', 505, 'run', 'self.__target(*self.__args,
**self.__kwargs)')
('C:\\Google appengine\\lib\\concurrent\\concurrent\\futures\\thread.py', 94,
'_worker', 'work_item.run()')
('C:\\Google appengine\\lib\\concurrent\\concurrent\\futures\\thread.py', 72,
'run', 'result = self.fn(*self.args, **self.kwargs)')
('C:\\Google
appengine\\google\\appengine\\tools\\devappserver2\\wsgi_server.py', 72,
'_handle', 'obj.communicate()')
('C:\\Google appengine\\lib\\cherrypy\\cherrypy\\wsgiserver\\wsgiserver2.py',
1302, 'communicate', 'req.respond()')
('C:\\Google appengine\\lib\\cherrypy\\cherrypy\\wsgiserver\\wsgiserver2.py',
831, 'respond', 'self.server.gateway(self).respond()')
('C:\\Google appengine\\lib\\cherrypy\\cherrypy\\wsgiserver\\wsgiserver2.py',
2115, 'respond', 'response = self.req.server.wsgi_app(self.env,
self.start_response)')
('C:\\Google
appengine\\google\\appengine\\tools\\devappserver2\\wsgi_server.py', 227,
'__call__', 'return app(environ, start_response)')
('C:\\Google
appengine\\google\\appengine\\tools\\devappserver2\\request_rewriter.py', 311,
'_rewriter_middleware', 'response_body = iter(application(environ,
wrapped_start_response))')
********************************************************************************
**********************************************
('C:\\Google
appengine\\google\\appengine\\tools\\devappserver2\\python\\runtime.py', 88,
'__call__', 'response = self.handle_normal_request(environ)')
('C:\\Google
appengine\\google\\appengine\\tools\\devappserver2\\python\\runtime.py', 118,
'handle_normal_request', 'self._PYTHON_LIB_DIR)')
('C:\\Google appengine\\google\\appengine\\runtime\\runtime.py', 151,
'HandleRequest', 'error)')
('C:\\Google appengine\\google\\appengine\\runtime\\wsgi.py', 298,
'HandleRequest', 'return WsgiRequest(environ, handler_name, url, post_data,
error).Handle()')
('C:\\Google appengine\\google\\appengine\\runtime\\wsgi.py', 223, 'Handle',
'result = handler(dict(self._environ), self._StartResponse)')
('C:\\Google appengine\\lib\\webapp2-2.5.1\\webapp2.py', 1530, '__call__', 'rv
= self.router.dispatch(request, response)')
('C:\\Google appengine\\lib\\webapp2-2.5.1\\webapp2.py', 1278,
'default_dispatcher', 'return route.handler_adapter(request, response)')
('C:\\Google appengine\\lib\\webapp2-2.5.1\\webapp2.py', 1102, '__call__',
'return handler.dispatch()')
('C:\\Google appengine\\lib\\webapp2-2.5.1\\webapp2.py', 570, 'dispatch',
'return method(*args, **kwargs)')
('C:\\workspace\\Workmunity\\workmunity.com\\interface\\login\\login.py', 25,
'get', 'logging.error(traceback.extract_stack())')
Original issue reported on code.google.com by xar...@gmail.com on 18 Feb 2013 at 8:19
Original issue reported on code.google.com by
xar...@gmail.com
on 18 Feb 2013 at 8:19