question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

flag to enable debug logs obtained when NPY_UF_DBG_TRACING=1

See original GitHub issue

It would be nice to have something like :

python3 setup.py build_ext --devlog --inplace -j $(nproc)

which would enable the detailed logging in ufunc by setting NPY_UF_DBG_TRACING and other such flags, if there are any.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sebergcommented, May 4, 2020

I think I would be happy if we add some convenient flags as env variables or build options (maybe with a short note in runtests.py how to use them), or a list of such options in the dev help. To be honest, I have rarely used those debug print options, they are useful, but mainly if you debug very deep stuff in the iterator. I am dubious that generally enabling all of them (if there are actually more than iterator and ufunc) is useful, it would probably be too spammy.

0reactions
anirudh2290commented, May 4, 2020

Yeah, all of that works for me, just the live syntax analysis of the c.src files doesn’t work since its not valid C code after all…

ok, got it, yes that cmakelists.txt will be useful for me sometime in the future when I get to modifying these .c.src files !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set Up Debug Logging - Salesforce Help
To activate debug logging for users, Apex classes, and Apex triggers, configure trace flags and debug levels in the Developer Console or in...
Read more >
Chrome Browser debug logs - Google Support
Use debug logs to help you. These logs aren't generated automatically. You need to turn on logging first. Turn on logging. Note: Instructions...
Read more >
Error while updating debug log trace flag
I have faced this issue, which I fixed it by deleting all debugs logs from developer console. In dev console, Select tab "Query...
Read more >
Enabling debug logging - GitHub Docs
If the workflow logs do not provide enough detail to diagnose why a workflow, job, or step is not working as expected, you...
Read more >
Enabling debug logs in Deep Security Manager (DSM)
Start the DSM service. Here are the debugging options: All parameters are case-sensitive. Option 1: UI Related Issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found