Re: [openstack-dev] [KEYSTONE] debugging keystone code

2015-02-09 Thread Steve Martinelli
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 `

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

Steve

Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com wrote on 02/10/2015 
12:45:53 AM:

 From: Abhishek Talwar/HYD/TCS abhishek.tal...@tcs.com
 To: openstack-dev@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-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [KEYSTONE] debugging keystone code

2015-02-09 Thread Abhishek Talwar/HYD/TCS
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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev