I'm using Slick Edit Pro 2022 (v27.0.0.6) (see below) and Windows 11 Pro (10.0.22621 Build 22621). After "successful" installation I was not able to start debugger. It would just show a pop-up screen "Error starting debugger: GDB has terminated prematurely."
I used just a simple C++ example code in a project with Cygwin64 (3.3.6-341.x86_64). I configured integrated debugger provided with SlickEdit.
So, after a lot of trial and error, internet searches, I figured that PYTHONPATH environment variable was not set (as well as PYTHONHOME which did not matter it seems?).
I had to define those myself. In my case, I set them both to:
- C:\Program Files\SlickEdit Pro 27.0.0\toolconfig\python\python3.10
After that debugger started to work properly.
[
MODIFIED: I had to remove the PYTHONHOME variable since it was interfering with the Jupyter Lab which I installed on Windows. It was also interfering with pip (Windows version). The PYTHONPATH was the only one I ended up with after further debug and it works well for now.]
Not sure why these variables have not been set by the installer or why they have not been set when starting the debugger.
There may be a better way to accomplish this so I would not have to set them up within Windows, but inside SlickEdit.
Regards,
Bogdan
SlickEdit Pro 2022 (v27.0.0.6 64-bit Qt5)
Serial number: <masked>
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\27\slickedit.lic
Build Date: October 18, 2022
Emulation: Epsilon
OS: Windows 10 x64
OS Version: 10.00.0
Memory: 35% Load, 11626MB/32452MB Physical, 14200MB/37316MB Page File, 4628MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 3440 x 1440 (0 0 3440 1440)
Project Type: Gnuc
Language: .cpp (C/C++)
Encoding: ACP (1252)
Installation Directory: C:\Program Files\SlickEdit Pro 27.0.0\ (non-removable drive,NTFS,348507MB free)
Configuration Directory: C:\Users\bkosa\Documents\My SlickEdit Config\27.0.0\ (non-removable drive,NTFS,348507MB free)
Imported options from: 24.0.0.8