Author Topic: Why can't I start C++ debugging from menu or toolbars?  (Read 760 times)

fritzeflink

  • Community Member
  • Posts: 31
  • Hero Points: 1
Why can't I start C++ debugging from menu or toolbars?
« on: July 30, 2019, 11:39:48 pm »
I have a C++ project that compiles and runs OK. In Visual Studio 2019 I can debug it with the usual debugger.
All the ways to debug a program in slick edit fail with the editor flashing briefly to change layout, then returning to the original layout and a dialog reading "Error starting debugger: Create Process failed".
I can start the debugger only through the SE commandline with "debug-executable". This brings up the usual input window and then runs the program in the debugger. Of course I can bind that command to a button but why does none of the pre-existing means of debuggiong work? Neither the Debug menu, nor the Build/Debug command nor the blue right triangle in the debug toolbar do anything but the above
Thanks

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
Re: Why can't I start C++ debugging from menu or toolbars?
« Reply #1 on: July 30, 2019, 11:48:30 pm »
Could you remind me what platform you are on?

What specific kind of project do you have open?  We support many different types of C++ projects, but only certain project types support integrated debugging.

If you go to Project > Project Properties.. and select the Debug tab, what debugger do you have configured as the active debugger?

What debugger did you expect to start?  (GDB, LLDB, WinDBG, or something else)

Does "Build > Execute" work for you?

No matter what kind of project you have open, even if you do not have a project open, you should always be able to start a debug session by going to Debug > Attach Debugger > ... (depends on what you want to do)
« Last Edit: July 30, 2019, 11:53:15 pm by Dennis »

fritzeflink

  • Community Member
  • Posts: 31
  • Hero Points: 1
Re: Why can't I start C++ debugging from menu or toolbars?
« Reply #2 on: August 06, 2019, 11:28:48 am »
 was expecting the built in debugger (Visual Studio C++ project) but I'm kinda working with a switch setup here where I use Slickedit for editing and building and then switch to VS for debugging. I had the internal debugger running here but I must say that it doesn't measure up to the Visual Studio debugger. Most datastructures that are bit more comples than just scalar values or the simplest of structs don't show up in the debugger. I may have everything messed up here since I had VS 2015 first, then installed VS 2019, had problems getting the project loaded and compiling in Slickedit and then had to manually add the path to VS so that Slickedit can compile at all.
I may wait for the next version of the editor and then hopefully can have a complete re-install of everything and hopefully it will work better