# How to debug PyFR step by step?

**URL:** <https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260>\
**Category:** General\
**Created:** [15 November 2019 07:01 UTC](https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260 "2019-11-15T07:01:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiny\_Wan](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@Kiny\_Wan](https://pyfr.discourse.group/u/Kiny_Wan)\
**Post date:** [15 November 2019 07:01 UTC](https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260/1 "2019-11-15T07:01:11Z")

</div>

Dear all,  
I recently installed PyFR with `pip install pyfr==1.9.0` and opened the files of pyfr as a project in Spyder (anaconda in windows 10). Is it possible to run a simple example and debug it step by step? I want to know the code structure and data types in details.  
Yours  
Kiny

 ![pyfr.jpg](https://global.discourse-cdn.com/free1/uploads/pyfr/original/1X/9610dce915f422ef94854f0a1c2ca8051ef9abeb.jpeg)

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [16 November 2019 20:03 UTC](https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260/2 "2019-11-16T20:03:47Z")

</div>

Yes. That should be possible. In fact you do not even need to do  
explicitly install PyFR; it is more than happy to run from its source  
directory so long as all of the dependencies are available.

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Kiny\_Wan](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@Kiny\_Wan](https://pyfr.discourse.group/u/Kiny_Wan)\
**Post date:** [17 November 2019 06:18 UTC](https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260/3 "2019-11-17T06:18:02Z")

</div>

That is very powerful. There may exists some errors about the dependent modules in windows 10. I am very happy to achieve it in ubuntu.

---

<div class="post-metadata">

**Author:** ![Kiny\_Wan](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@Kiny\_Wan](https://pyfr.discourse.group/u/Kiny_Wan)\
**Post date:** [1 December 2019 08:58 UTC](https://pyfr.discourse.group/t/how-to-debug-pyfr-step-by-step/260/4 "2019-12-01T08:58:12Z")

</div>

Dear Freddie,  
Is it possible to debug PyFR with multi-cores/ranks? Someone said that python debug was limited in one core/rank.  
Yours  
Kiny
