User forums > Using Code::Blocks
Build file: "no target"
(1/1)
AZ:
hello,
getting
||=== Build file: "no target" in "no project" (compiler: unknown) ===|
when i open a file and "build" it.
i wonder why ?
wonder how to invoke the debugger. I thought setting a breakpoint and "build/run" will be sufficient to have it up. But this file "just runs " - builds and executes in the xterm.
oBFusCATed:
Do you have a project? The debugger doesn't work without a project.
Also you have to use Debug->Start or Debug->Attach.
AZ:
> ..Do you have a project? The debugger doesn't work without a project.
uhh. that answers the question.
No i don't have a project, just wonted to compile and debug a single file.
Is there a way to accomplish this without creating a project?
oBFusCATed:
Nope.
AZ:
thank you .
Navigation
[0] Message Index
Go to full version