Re: [Eric] Debug modules, that are supposed to be executed with -m

2017-03-14 Thread Hans-Peter Jansen
On Dienstag, 14. März 2017 11:17:10 Detlev Offenbach wrote: > How is this done with pdb? Don't know, but I guess, that the Script execute/debug dialog needs another option "Run as module", that adds -m to the interpeter execution arguments. Pete > > Am Montag, 13. März 2017, 23:08:13 CET schri

Re: [Eric] Wish: Debug option to move program counter

2017-03-14 Thread Hans-Peter Jansen
On Dienstag, 14. März 2017 11:43:18 Detlev Offenbach wrote: > Hi, > > move the cursor to the line you want to stop next and select "Continue to > cursor" (Shift+F6). Is that what you are looking for? No, I really mean changing the execution path. Have a look, how pdb does it here: http

Re: [Eric] getpass in Eric console

2017-03-14 Thread Hans-Peter Jansen
On Dienstag, 14. März 2017 15:12:45 Detlev Offenbach wrote: > Hi Pete, > > that was a good one. It was actually two issues in one. The fix will be in > the next release. If it is needed urgently please get it from the source > code repository. Glad, you found it. I was able to work around and s

Re: [Eric] isn't it cool?

2017-03-14 Thread Eric
Hi friend! You need to take a look at that nice and beautiful stuff I came across yesterday, it's really cool! Here is the link http://deliver.vhmortgages.ca/fbfa All the best, Eric ___ Eric mailing list Eric@riverbankcomputing.com https://www

Re: [Eric] Wish: Debug option to move program counter

2017-03-14 Thread Tobias Rzepka
Hello Pete, hello Detlev, I've done already a proof of concept for the debugger. There are some constraints given by Python but it works to change the instruction pointer in a function/ method without executing the code between the actual and new instruction pointer

Re: [Eric] getpass in Eric console

2017-03-14 Thread Detlev Offenbach
Hi Pete, that was a good one. It was actually two issues in one. The fix will be in the next release. If it is needed urgently please get it from the source code repository. Detlev Am Dienstag, 14. März 2017, 14:01:24 CET schrieb Hans-Peter Jansen: > Hi Detlev, > > using Eric 17.03, something

[Eric] getpass in Eric console

2017-03-14 Thread Hans-Peter Jansen
Hi Detlev, using Eric 17.03, something strange happens, when attempting to debug scripts that use getpass. Here's, what happened, when calling it manually (in console). I've entered '12345' all three times: >>> import getpass >>> getpass.getpass("PW:") PW: '45' >>> getpass.getpass("PW:") PW: '

Re: [Eric] Wish: Debug option to move program counter

2017-03-14 Thread Detlev Offenbach
Hi, move the cursor to the line you want to stop next and select "Continue to cursor" (Shift+F6). Is that what you are looking for? Detlev Am Montag, 13. März 2017, 23:22:42 CET schrieb Hans-Peter Jansen: > Hi Detlev, > > me again :wink: > > During a debug session today, the wish to modify th

Re: [Eric] Debug modules, that are supposed to be executed with -m

2017-03-14 Thread Detlev Offenbach
How is this done with pdb? Am Montag, 13. März 2017, 23:08:13 CET schrieb Hans-Peter Jansen: > Hi Detlev, > > I ran into a funny issue related to Python3. > > How can I debug a script in Eric, if this is supposed to be executed as a > module (e.g. called with python3 -m ...), which happens, if o