Author Topic: Python debugger fails to start  (Read 1627 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Python debugger fails to start
« on: September 25, 2020, 09:44:44 PM »
I have a simple python project.
I step-into to start debugging.

Slick hangs for a while, then fails with

---------------------------
SlickEdit Pro
---------------------------
Error starting debugger:  Error code out of range: 103370
---------------------------
OK   
---------------------------


In "Build"...
"C:\Program Files\Python37\python.exe" -u   "C:\Program Files\SlickEdit Pro 25.0.0\resource/tools/ptvsd" --host 127.0.0.1 --port 5678 --wait "C:\Prog

I don't have Python 37\python.exe. The python 37 directory is there with some leftovers, but python.exe isn't there (not sure why really ... it is installed still).


In any case, Slick ought to have noticed that the CreateProcess call failed and not have to wait for some timeout.




patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Python debugger fails to start
« Reply #1 on: September 28, 2020, 01:45:13 PM »
True.  The way we're kicking off the backend asynchronously, it's not picking up that failure case.  I'll take a look at it.