Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:53
    rlbxku1r opened #2887
  • 07:36

    eranif on master

    updated TODO updated TODO (#2) (compare)

  • 07:30

    eranif on master

    Wizards plugin: remove all old … (compare)

  • Dec 06 23:09

    eranif on master

    outline dialog: minor fix: when… (compare)

  • Dec 06 22:31

    eranif on master

    added missing header file (compare)

  • Dec 06 22:22

    eranif on master

    more small fixes to the new out… (compare)

  • Dec 06 21:42

    eranif on master

    ctagsd: fixed: code completion … (compare)

  • Dec 06 21:31

    eranif on master

    Moving `Quick Outline View` to … LSP outline dialog: handle keyb… ctagsd: implemented "textDocume… and 1 more (compare)

  • Dec 06 17:17
    sss123next commented #2885
  • Dec 06 17:16
    sss123next commented #2885
  • Dec 06 17:11
    eranif commented #2885
  • Dec 06 16:45
    sss123next commented #2885
  • Dec 06 16:21
    sss123next commented #2885
  • Dec 06 15:52
    eranif commented #2885
  • Dec 06 15:51
    eranif commented #2885
  • Dec 06 15:01
    sss123next commented #2885
  • Dec 06 14:02
    eranif commented #2885
  • Dec 06 12:32
    sss123next commented #2885
  • Dec 06 11:26
    eranif commented #2885
  • Dec 06 09:11
    sss123next commented #2885
dghart
@dghart
What sort of project is this? One of the sample ones that CodeLite supplies?
If not, try one of those and see if that works
If it doesn't, what is its Path? Which compiler are you trying to use? Does it exist?
N.saicharan
@n_nsaicharan61_twitter
Iam using windows 10 operating system, Codelite 15 version
I am learning cpp from Udemy so I wanted to debug the compiled code to see the variables and calls
iam using mingW64 compiler
@dghart
dghart
@dghart
@n_nsaicharan61_twitter Thanks. What sort of Workspace and Project did you create?
Is it one of the sample projects that CodeLite supplies?
(If not, please try one of those and see if that works.)
N.saicharan
@n_nsaicharan61_twitter
I created my own workspace
@dghart
ok sure i will try what code lite supplied
Eran Ifrah
@eranif
@n_nsaicharan61_twitter to check the values of the macros $(OutputFile) you can click on the Help button in the project settings dialog
N.saicharan
@n_nsaicharan61_twitter
@dghart : The problem is there with the sample projects that codelite supplies as well
i could not debug with that as well
@eranif : under the help i have only the Check for updates, run the set wizard, about and report an issue
N.saicharan
@n_nsaicharan61_twitter
is this the problem with the new version? is there anyone faced the same issue?
dghart
@dghart
@n_nsaicharan61_twitter No, it works for other people.
What is the Path of your workspace/project?
N.saicharan
@n_nsaicharan61_twitter
F:\LearningCpp\FirstWorkspace
@dghart This is the path for the workspace
dghart
@dghart
And the Project inside it?
N.saicharan
@n_nsaicharan61_twitter
I wanted to use it , i wanted to learn programming with the debugging
project name : FirstWorkspace
dghart
@dghart
So: F:\LearningCpp\FirstWorkspace\FirstWorkspace Yes?
N.saicharan
@n_nsaicharan61_twitter
yeah
dghart
@dghart
Use a file manager to look inside that PATH
N.saicharan
@n_nsaicharan61_twitter
Yeah i looked
dghart
@dghart
Good. what did you see?
N.saicharan
@n_nsaicharan61_twitter
Debug folder, compiler flags,
FirstWorkspace.project
main
dghart
@dghart
main.cpp ?
N.saicharan
@n_nsaicharan61_twitter
yeah main.cpp
dghart
@dghart
OK. Now try to compile your project. You should see what happens in the Output pane, at the bottom of CodeLite
N.saicharan
@n_nsaicharan61_twitter
Yeah i could see the output pane at the bottom, of the codelite
dghart
@dghart
What is the output that you see? "Entering directory..."?
N.saicharan
@n_nsaicharan61_twitter
In the output pane i have :
Executing: cmd /C call F:\LearningCpp\FirstWorkspace\FirstWorkspace\Debug\FirstWorkspace.exe && pause
Program exited
Working directory is set to: F:\LearningCpp\FirstWorkspace\FirstWorkspace
Executing: cmd /C call F:\LearningCpp\FirstWorkspace\FirstWorkspace\Debug\FirstWorkspace.exe && pause
Program exited
THE ABOVE WAS THE COMMENTS
I could see on the output pane
and there are other panes as well, build, search , replace and references
dghart
@dghart
Indeed.
So now you have answered your original question!
You can't run anything because ' F:\LearningCpp\FirstWorkspace\FirstWorkspace\Debug\FirstWorkspace.exe' does not exist
Did you try the build the project?
N.saicharan
@n_nsaicharan61_twitter
yeah i built the project

inside the debug folder i have

main.cpp.o
main.cpp.d
.d
FirstWorkspace - this is application file

dghart
@dghart
Try to build it again. What is the output in the Output pane?
N.saicharan
@n_nsaicharan61_twitter
Working directory is set to: F:\LearningCpp\FirstWorkspace\FirstWorkspace
Executing: cmd /C call F:\LearningCpp\FirstWorkspace\FirstWorkspace\Debug\FirstWorkspace.exe && pause
Program exited
Working directory is set to: F:\LearningCpp\FirstWorkspace\FirstWorkspace
Executing: cmd /C call F:\LearningCpp\FirstWorkspace\FirstWorkspace\Debug\FirstWorkspace.exe && pause
THE ABOVE WAS THE OUTPUT IN THE OUTPUT PANE
dghart
@dghart
When you build
not when you try to run it
BUT: