FLAMEGPU2 icon indicating copy to clipboard operation
FLAMEGPU2 copied to clipboard

Native Python fn detection failure (in PyCharm's debugger)

Open Robadob opened this issue 1 year ago • 3 comments

Discussed in https://github.com/FLAMEGPU/FLAMEGPU2/discussions/1076

Python native function's cannot be detected when executed via PyCharm's PyDev debugger.

This is unconfirmed, but seems like the most likely cause based on this stack trace.

The debugger can be installed as a separate module, not 100% sure how to run it via that though.

image

Robadob avatar Jul 06 '23 05:07 Robadob

I can't reproduce this with a clean latest PyCharm install.

PyCharm 2023.1.3 (Professional Edition)
Build #PY-231.9161.41, built on June 20, 2023

Or the same PyCharm build as the original report.

Robadob avatar Jul 06 '23 10:07 Robadob

If investigating this, refer to discussion comments. I've been unable to reproduce and user with failure has checked that the inspect function finds no methods.

Robadob avatar Jul 06 '23 21:07 Robadob

Reporting user has now managed to resolve it locally by enabling "Emulate terminal in output console", will want to readup on this feature see if we can detect it or similar to provide a natural fix.

image

Robadob avatar Jul 13 '23 19:07 Robadob