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

jporkkahtc

  • Senior Community Member
  • Posts: 2158
  • Hero Points: 191
  • 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: 1467
  • Hero Points: 131
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.