No reverse debugging for C++ Eclipse project - c++

I installed Eclipse CDT and MinGW on Windows 8.1 and can launch an "Hello World" project but have no reverse debugging controls.
I saw on the net that I had to activate them in the "Customize Perspective" dialog.
When I try to activate the different commands (like "reverse resume, reverse step into") in the "Tool Bar Visibility" tab I get the error message
the command cannot be made visible in this dialog
How can I enable the reverse debugging controls in Eclipse (CDT)?

I ran into the same problem (and error message) under Linux.
I followed this Eclipse FAQ entry which seems to be a bit dated. What I actually ended up doing was:
menu Window -> Perspective -> Customize Perspective...
tab "Action Set Availability": check "Reverse Debugging"
After enabling reverse debugging there, I still cannot change the visibility in the "Tool Bar Visibility" tab of the Customize Perspective Dialog but I get another icon in the tool bar that says "Reverse toggle".
upon turning on reverse debugging via that button I have the full set of reverse debugging controls in the tool bar.

Related

Enable reverse debugging in QtCreator for non-gui methods

I have 2 installations of QtCreator on Windows (with MingW, gcc, g++, make and gdb) and on Ubuntu. On the 2 OS I am able to run some Qt programs (with Qt Windows) or console programs, and debug programs.
But I tried without success the reverse debugging; I checked the option "allow reverse debugging" in the debugger's options and I have a button in the debug view that's called "reverse direction" but when I click on it nothing happens, it does not change other buttons nor transforms the effect of these buttons (from forward to backward).

C++ NetBeans - Removing Console from Win32

I have a Win32 app that displays a console window in the back. How can I, using NetBeans/C++, remove this console window?
Thanks in advance.
you might want to go for "Right-Mouse-Button: Properties" in your C/C++ Project, choose "Categories: Run" within the upcoming dialog window. Then find "Console type" within the pane showing off at the right, and there you may try to switch from "Standard output" to "Internal Terminal" entry. Watch out for having the correct "Configuration" at the top of that pane, "Debug" or "Release", respectively. Hope that works for your NetBeans, too. ... Regards, M.

Integrating Clang Within NetBeans?

What are the steps involved in integrating Clang within NetBeans? I would like to also see the Clang error and warning messages from within NetBeans. This will be used mainly for developing in C.
NetBeans 7.2 has supported Clang natively.
Just open up Options Window, switch to C/C++ section, and add a new Tool Collection. Type: /usr/bin in Base Directory, and select "CLang" in the combo box.
I have been using Clang to build my project, and NetBeans works with Clang perfectly.
Here is a link to the bug report for clang support in netbeans at netbeans.org. Track this bug for official netbeans support.
If you have downloaded and installed the C/C++ plug-in for NetBeans 8+ following the instructions on this page:
https://netbeans.org/community/releases/80/cpp-setup-instructions.html
you have a C/C++ item in the upper menu of the Tools > Options panel. 1.) Click it.
2.) Now under the list called "Tool Collection" (on the left) click the left button "Add".
3.) In the window that opens, enter the "/usr/bin" as a base directory.
4.) If you have a CLang compiler installed right the "Tool Collection Family" drop-down menu will show a CLang collection. Choose it.
5.) Click "OK" in the pop-up window, then click "OK" in the "Options" panel/window.
Enjoy.

Flash builder 4.6 will not launch a browser for debugging

I just upgraded from Flash Builder 4.5 to Flash Builder 4.6. Now when I want to run/debug, it does not launch a browser, it will only launch the "adobe flash player 11" window.
I tried setting the browser in "window" / "preferences" / "general" / "web browser" but it makes no difference at all.
Guess what, I just solved this problem.
I had to make it generate the html wrapper, right click on the project, click on properties, "Flex Compiler", tick "Generate HTML wrapper file" (near the bottom of that page). I ticked this, re-compiled and it works.
You see, previously I was using my own html wrapper in Flex builder 4.5 and I had changed it.
You can say this is not ideal, it seems I HAVE to have "Generate HTML wrapper file" ticked for the debugging to work.

How to run app from VC++ without debug?

I'm trying to learn to love Visual C++ 2010 Express, but it is difficult! I've just created a "Hello world" console app and compiled it - no problems. I now want to run it. It seems the only option open to me is to run it in the debugger - there is a "Run" button on the toolbar but it is disabled. I don't want to debug it - I really don't like debuggers! Is there any way of just running the app from inside the VS IDE?
If you can't see the "Start Without Debugging" command in the toolbar, go to "Tools -> Settings -> Expert Settings". Basic Settings hides lots of stuff you probably want to see.
Professional version of VC2010 doesn't seem to have this switch.
Open the Tools menu
Go to Customize
Switch to the Commands tab
Select the Debug category
Drag the "Start Without Debugging" command to the Debug menu item
Edit: Full disclosure, I don't actually have VC++2010 Express installed on this computer, so I'm just sort of winging it here.
If you want to have a "Start Without Debugging" icon on the menu bar instead of in the drop-down Debug menu (even if Tools->Settings = "Basic Settings"), do this:
Tools->Customize->Commands->(choose Menu bar)->Add Command->Debug->Start Without Debugging->ok.
Then Move Up/Down if you want to change its position.