Configure Eclipse CDT not to launch external tool on unsuccessfull build - eclipse-cdt

I am using Eclipse CDT on Linux to create console application. I configured External tool to launch more advanced terminal than internal Console window. Internal Eclipse console does not suit the style of application I am developing. However I can't find a way to configure Eclipse not to launch external tool if the build operation fails. Or other approach would be to remove binary from output folder, but only on unsuccessfull build. I can remove binary before every build to do that, but it would take more time on every launch to re-link. There is a Prompt option in normal Run mode, but i cannot itegrate my Shell script to launch my exterminal there. Advices on achieving such functionality?

Related

WebStorm run command or program on project open

Is there any way to run external program or command after I open project in WebStorm?
I've created new external tool which runs database server, and after I click on it in menu, it runs the server and everything works, but I'd like to start this tool automatically on project start. And it'd be awesome if it could also open web browser to certain url which would be database admin tool.
If you can launch your desired task using Grunt/Gulp/npm task or any other Run/Debug Configuration then yes -- there is Startup Tasks functionality available at Settings/Preferences | Tools | Startup Tasks.
Note that you cannot execute External Tools entry directly or launch any DOS/shell command this way.
The easiest way of using this would be creating Grunt/Gulp task that would do your actual job. There you can use exec() method to execute custom command.

Webstorm node.js cli debugging in windows 7

A noob needs a favour from you. I am writing a node.js cli application that has to run in a windows 7 cmd.exe. I can not figure out how to set up a debugging workflow that I am comfortable with. When I use the standard node.js debugging config, it debugs in the Webstorm console (ie. in the ide, which does not seem to accept input from stdin - and yes, stdin has been resumed). What I would like to achieve is to have it run the application in an external cmd.exe (which is what the app will be run in), and still be able set breakpoints etc in the ide. I do not want to run the app in the Webstorm internal console.
I am using Webstorm 11 and node 4.2.1.
Many thanks
To enable stdin in WebStorm debugger console, in the Console tab uncheck "Use Console Input" — https://dl.dropboxusercontent.com/u/43511007/s/Screen%20Shot%202015-04-30%20at%2014.45.54.png.
You can also run your application in cmd console with --debug=<port for debugging> or --debug-brk=<port for debugging> options and attach to it using Remote Node.js Debug configuration. See https://confluence.jetbrains.com/display/WI/Running+and+debugging+Node.js+application#RunninganddebuggingNode.jsapplication-DebuggingNode.jsappthatrunsremotely

Eclipse CDT PTP Remote Tools will remotely build makefile, but not make/compile after

I am trying to use Eclipse 4.3 on Windows for remote Linux C++ development. I am currently using the Eclipse PTP package which comes with all the necessary plugins to do remote development. I made a new C++ Remote Project and I have it set to talk to the linux machine via the 'Remote Tools' service. I am able to use all the terminal and file browsing services as expected. However, when I go to 'build' my project, all it does is generate the makefile on the remote machine, it will not compile it into a binary. Through terminal, I can make the makefile and it will compile be run successfully. However, the generated binary is not seen by eclipse and so all the nice binary things like Run/Debug can not be used on the manually made binary.
Essentially I am looking for a way to hit the 'Build' button, and have it compile my remote project into a binary that will be recognized by eclipse.

How to configure Eclipse CDT to use WAF for ns3 build?

I'm trying to build ns3 on windows, and I'm using eclipse.
I have a problem to configure Eclipse to trigger the external builder tool "waf"
Each time I adjust the build command I get an error, as eclipse seems not to be able to trigger the waf script
Any help with that, I have tried the HOWto Page on ns3 WiKi but it doesn't seem to be working with me
Default NS-3 does not run with native Windows compiler. There is an 'experimental' version of NS-3 that can run on Visual Studio. For more information read this: http://www.nsnam.org/wiki/Ns-3_on_Visual_Studio_2012

How can I comfortably design a Linux based terminal application from my Windows laptop?

I have a Centos 6.4 (minimal) system configured like a “NAS drive.”
I would like to design a Linux based terminal application on my Window laptop, then build/run it from my “NAS Drive.” It is annoying to keep switching to Putty, running the build script then testing the program itself!
The source code is stored/edited over a Samba share so everything’s already in the right place.
Is there a c++ editor for Windows that can build/run the application with the touch of a button (F9)? Or a batch script or something for Windows that automates a series of SSH commands?
If I was in your shoes, I'd use eclipse with cdt and cygwin.