Hi Apologies
Once last issue is pending.Any pointers are helpful.
I am following the below docs.
Next you need to write a Python script that invokes the C code whose
execution you want to debug. For instance mytest.py:
import numpy as npx = np.arange(5)np.empty_like(x)
Now, you can run:
$ g
Hi All
I was able to fix.
>import sys
>print(sys.version_info)
>end
sys.version_info(major=3, minor=9, micro=1, releaselevel='final', serial=0)
(gdb) quit
https://github.com/crosstool-ng/crosstool-ng/issues/1308
this was the issue.
The solution is to open /gdb/python/python-config.py
Hi All
when i. try to use python3 installed on my macbook i get this.
checking for libmpfr... no
configure: WARNING: MPFR is missing or unusable; some features may be
unavailable.
checking whether to use python... /usr/local/bin/python3
checking for python... no
configure: error: no usable py
Hi All,
I was able to fix it but one thing i am not getting.
it is building with python 2.
I need python 3 enabled gdb.
./configure --with-python. --> how to make it to use python 3 installed on
my machine?
thx
On Tue, Dec 29, 2020 at 1:55 PM Amardeep Singh wrote:
> Hi All,
>
> I am try
Hi All,
I am trying to debug c code of numpy via gdb.Can someone help me with this?
i am getting " Python scripting is not supported in this copy of GDB". How
to install python supported gdb on win10?
https://numpy.org/doc/stable/dev/development_environment.html
I am following the steps in the
Hi All,
Thx.Debug enabled build worked fine on windows10.Also python for macos does
not give option to install debug enabled build .
I was able to build and debug via clion on windows not on mac.
lldb did not work for me on mac.Not sure why.seems gdb has some version
issues with macos even after c
How do you use the debug enabled cpython on mac.i guess we need it.
You build cpython from source?
this is mytest.py file
import numpy as np
x = np.arange(5)
np.empty_like(x)
i run this command
gdb --args python3 runtests.py -g --python3 mytest.py
i get this
Reading symbols from python3...
(N
On Sat, 2020-10-24 at 01:50 +0800, Amardeep Singh wrote:
> Hi All
>
> I am a new joiner.Using macbook.
> Can someone please guide me how to debug numpy using clion?
> I am able to build not sure about debugging the c code.
>
> ProductName: Mac OS X
>
> ProductVersion: 10.15.7
>
> BuildVersion:
Hi All
I am a new joiner.Using macbook.
Can someone please guide me how to debug numpy using clion?
I am able to build not sure about debugging the c code.
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H2
thx
___
NumPy-Discussion mai