can we debug without creating project in code blocks - c

I just wanted to ask that can we debug a code without creating a project. I have tried many times but the debugger was not working when I am not under any project.

Debugging C files alone (without having a project) is not supported by CodeBlocks, you won't find a way with this IDE.

Related

Package C console application (Visual Studio '13)

I wrote a basic program for my mom, and now I want her to be able to use it. Obviously, it works on my computer. Getting the .exe file from the project folder, and putting it on her computer doesn't work: it says MSVCR120d.dll is missing whenever the .exe is run. Makes sense--as her computer doesn't have Visual Studio on it. However, I tried installing the Visual C++ Redistributable Packages for Visual Studio 2013, and that didn't work either.
To be honest, I'm not looking to spending hours of time to piece this all together. This is something I will more than likely never do again--I've already done some searching and can only find subjects speaking of C++ distributions. I want a way to get the console app on her computer to work.
The more easy way is link statically. That mean embed all the needed code to the app to run, in the final binary (.exe), eliminating dependency of other libraries.
Go to Project Properties
Go to Configuration Properties
Go to C/C++
Go to Code Generation
Change Runtime Library (in Debug to Multi-Threaded Debug /MTd and in Release to Multi-Threaded /MT)

Debugging a "Metro" UI...says .exe is missing, but it was never included

Hey guys im pulling my hair out....I am using Visual Studio 2013 and cannot debug the source files found at http://www.codeproject.com/Articles/442856/Visual-Studio-Metro-Styles-for-WPF
Its a Modern UI application, I get the error message that ".exe cannot be found" which I understand will prevent building and debugging the solution. However. the .exe files are not even in the source folder at all!!
Is there any way to debug this, or actually create the .exe files this solution needs to build properly??? Thanks so much

invalid configuration file in turbo c when using project

I'm trying to use my project file in c, but it wont let me do it, it gives invalid configuration file then shows the directory of my project file.
I am using Turbo C simulator for windows 7 64 bit
I already tried to re install it but same error keeps happening, i can run normal files though just cant include my project file.
Do yourself a favor and install some worthy compiler. There are alot of options available on the market. I prefer Microsoft Visual Studio.
Some free worthy compilers:
Microsoft Visual Studio Express
Code Blocks
Eclipse
Turbo C is a old version any way you want a solution how to create a project file without error see this video:
https://www.youtube.com/watch?v=KAdlaYclkvg
It may help you, follow each and every step carefully it's better not to use turbo c++. use dev c++ or code blocks for better management of project files.

Debugging in QtCreator 5 using Mingw+Gdb on Windows?

I have been looking for a solution for hours. I have QTC 5, Mingw and Gdb under Windows7. I can compile and run my project however I have not been able to figure out how to debug and create a debug configuration in QT 5 under Windows. Bear in mind that everything works as it should in this IDE. I am happy with it just that I have not been able to figure out debugging with this particular configuration.
Most tutorials were concerned with CDB or Qt project or in other platforms, or were talking about some tabs or menus that are not available in v5 as far as I can tell.
What is the right way of setting up a debug configuration and running my .exe in a debug environment using QT 5 and Gdb? My project is mostly C and some C++ with no Qt component. I am just using it as an IDE for C/C++.
thanks

Is there a way to debug VC++ compiled applications using Eclipse/WinDbg?

I'm currently using Eclipse as my main editor, and source browser for our C/C++ project. The only problem is, I have to switch to Visual C++ everytime I have to debug or trace. Is there a way to have Eclipse use the WinDbg tool to debug Windows native applications? I tried searching on the web but all the forum posts seem to trail off to nowhere around 2007/2008.
I think the answer is no. Because you will not have access to the Win Debug Symbols and libraries within the Eclipse runtime. However you could start building this as an Eclipse plugin for VS users.

Resources