[openstack-dev] [KEYSTONE] debugging keystone code

Steve Martinelli stevemar at ca.ibm.com
Tue Feb 10 05:55:59 UTC 2015


If you are running keystone under apache, and just want to see
what's going on: rpdb -> https://pypi.python.org/pypi/rpdb/

Insert `import rpdb; rpdb.set_trace()` into your code,
and in another prompt, type in `nc 127.0.0.1 4444`

If you are attempting to debug tests, use the debug environment:
`tox -e debug <test_case_name>`

Steve

Abhishek Talwar/HYD/TCS <abhishek.talwar at tcs.com> wrote on 02/10/2015 
12:45:53 AM:

> From: Abhishek Talwar/HYD/TCS <abhishek.talwar at tcs.com>
> To: openstack-dev at lists.openstack.org
> Date: 02/10/2015 12:50 AM
> Subject: [openstack-dev]  [KEYSTONE] debugging keystone code
> 
> Hi All,
> 
> I am working on bug on keystone (#1392035) and while debugging the 
> code I am having problem. I have inserted pdb at both client side 
> and server side. While it is allowing me to debug the code at client
> side, on server side it gives me a bdb quit error. 
> 
> So how can we debug the code for keystone server side. Kindly, help 
> me regarding this.
> 
> 
> -- 
> Thanks and Regards
> Abhishek Talwar
> Employee ID : 770072
> Assistant System Engineer
> Tata Consultancy Services,Gurgaon
> India
> Contact Details : +918377882003
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
__________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: 
OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150210/ca4f6c7e/attachment.html>


More information about the OpenStack-dev mailing list