FW: Python debugger

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FW: Python debugger

Matthew Anthony Mouawad

Hello everyone,


I asked Andras a question about the python debugger but did not include the slicer user list. Please see forwarded email.


From: Andras Lasso [mailto:[hidden email]]
Sent: February 28, 2017 10:25 AM
To: Matthew Anthony Mouawad <[hidden email]>
Subject: RE: Python debugger


Please always post this question on the mailing list. There are tens of thousands of Slicer users, probably many of them has/had the same question but did not feel confident or had the time to write on the mailing list, just searched on google. It’s important to help these people by making questions and answers publicly available.


I’ve updated the documentation page. Hopefully it is clear enough now:






From: Matthew Anthony Mouawad [[hidden email]]
Sent: February 28, 2017 9:44
To: Andras Lasso <[hidden email]>
Subject: Python debugger


Hi Andras,


Thanks for taking the time to help me with my previous issue. I have to ask for a bit more help that is much easier. I didn’t think it was necessary to address the whole slicer community over this so I haven’t ccd the list but if you think it should be we can do that.


My question was concerning the python debugger you made as a module for slicer. I am finding the instructions for getting it to work a bit unclear for someone new to the programming world. I got to the point of being able to link pycharm and the slicer python debugger module and if I use the python consol in slicer I can print messages and see them in pycharm. However, on the steps where you say “load your .py file and add breakpoints…” etc, I don’t know whether you mean in pycharm or slicer… when I have the script in pycharm and have been connected to slicer, I press run on the script but it doesn’t seem to execute in the slicer environment.


Hopefully this isn’t too silly of a question. Thanks for all your help.

slicer-users mailing list
[hidden email]
To unsubscribe: send email to [hidden email] with unsubscribe as the subject