Klayout on ARCH linux: Inspector doesn't shows variable values when breapoint is set in subroutine.

Dear Matthias
I am trying to use Klayout on ARCH linux (Exactly in CatchyOS).
I have used the klayout been installed from the aur distribution but also with a binary that I have created usingt your source files.

One issue I found is that the Inspector doesn't shows variable values when breapoint is set in subroutine.
The inspector is working well when the run is still in my main python script but it does not shows any variable value when it goes inside any def subroutine.

This does not happens in ubuntu where everything works well.

I am trying to understand what could be the cause of the missing information in the Inspector window and how to fix this.

Do you have any suggestion?

Thank you in advance
Best regards
Giovanni

Comments

  • Hi Giovanni,

    thanks for reporting this problem.

    It seems to work for me

    In my experience there is always trouble with new Python versions. Mine is 3.12.3.
    Which is the one that your Linux is using (check the Help/About page)?

    Matthias

  • Thank you Matthias.
    My python version is:
    Python 3.13.2

    If I run in ubuntu everything is fine.
    If I run in Arch, the debugger only works for local variabe at top level of the script.

    Could it be the difference is in the debugger ?
    Does Klayout connects to own python debugger or use an external one?

    Don't worry, If this can't be fixed, I can still go back and use the ubuntu platform I have :-)

    Best regards
    Giovanni

  • Hi Giovanni,

    I am using Ubuntu myself and that is where the screenshot is taken from. I assume that the Python version makes a difference. I will try to reproduce and fix the issue on that version.

    Matthias

Sign In or Register to comment.