At some_ros_package/scripts/some_node.py
Add next break points for python.
```
if __name__ == '__main__':
from os import getpid
print 'pid = ', getpid()
import pdb;
pdb.set_trace()
```
if pid number is 1234, type next commands at other terminal,
```
$ sudo gdb
gdb) attach 1234
gdb) break ~~~~
gdb) continue
```
After make break point at cppfile, continue python ros node.
```
pdb) continue
```
* If you need symbol file,.
https://stackoverflow.com/questions/20380204/how-to-load-multiple-symbol-files-in-gdb
```
gdb) add-symbol-file filename address
```
We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming , aws training , ccna training (7+ years) will ensure that we will deliver our best in python training in chennai. , and we believe that no one matches us in this context.
ReplyDeleteccna training in chennai
aws training in chennai
aws devops training in chennai
python training
python training in chennai