Remember opened files and breakpoints after close workspace

CodeLite installation/troubleshooting forum
sacima
CodeLite Curious
Posts: 1
Joined: Tue Oct 05, 2010 8:11 pm
Genuine User: Yes
IDE Question: C++
Contact:

Remember opened files and breakpoints after close workspace

Post by sacima »

I have been using CodeLite for a while, it works great except one thing that bothers me. Sometimes I work on multiple workspaces. if I close a workspace and open it again, it doesn't remember the files I opened and breakpoints I set before. Is it possible to let the workspace to save the opened files and breakpoints? Thanks!

I am using CodeLite 2.7.0.4375 under Windows XP.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Remember opened files and breakpoints after close workspace

Post by eranif »

It is working great here (I am using trunk version of codelite obviously) which includes a fix to *select* the last open file. However, loading all the last opened files / breakpoints should work in 2.7.XX as well.
If it does not work for you, make sure that the option menu: File | Load Last Session on Restart is checked

Eran
Make sure you have read the HOW TO POST thread
estco
CodeLite Curious
Posts: 1
Joined: Mon Oct 11, 2010 4:15 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Remember opened files and breakpoints after close workspace

Post by estco »

hello ,I'm a newer of codelite,
I encounter a problem when i build my first project,here is the simple source code ,followed by the building information:

#include <iostream>
#include <string>
using namespace std ;

int main()
{
cout << "this is the first programm !" << endl;
}


----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 1 -f "Conso_wsp.mk""
----------Building project:[ testvc - Debug ]----------
mingw32-make.exe[1]: Entering directory `C:/Program Files/CodeLite/Conso/testvc'
cl.exe /nologo /c "C:/Program Files/CodeLite/Conso/testvc/testvc.cpp" /Zi /FoDebug/testvc.obj "/I"C:/Program Files/Microsoft Visual Studio 8/VC/include"" "/I." "/I."
'cl.exe' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò
»òÅú´¦ÀíÎļþ¡£
mingw32-make.exe[1]: *** [
Debug/testvc.obj] Error 1
mingw32-make.exe[1]: Leaving directory `C:/Program Files/CodeLite/Conso/testvc'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings

///////////////////////////////////////////////////////////////////////

and when I run the program,there is nothing on the output window,can you explain why i get the lousy code in the build information?
thank you very much !!

I use the codelite-2.7.0.4375-mingw4.4.1-wx2.8.10 under windowsXP
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Remember opened files and breakpoints after close workspace

Post by eranif »

estco wrote:hello ,I'm a newer of codelite,
I encounter a problem when i build my first project,here is the simple source code ,followed by the building information:

#include <iostream>
#include <string>
using namespace std ;

int main()
{
cout << "this is the first programm !" << endl;
}


----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 1 -f "Conso_wsp.mk""
----------Building project:[ testvc - Debug ]----------
mingw32-make.exe[1]: Entering directory `C:/Program Files/CodeLite/Conso/testvc'
cl.exe /nologo /c "C:/Program Files/CodeLite/Conso/testvc/testvc.cpp" /Zi /FoDebug/testvc.obj "/I"C:/Program Files/Microsoft Visual Studio 8/VC/include"" "/I." "/I."
'cl.exe' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò
»òÅú´¦ÀíÎļþ¡£
mingw32-make.exe[1]: *** [
Debug/testvc.obj] Error 1
mingw32-make.exe[1]: Leaving directory `C:/Program Files/CodeLite/Conso/testvc'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings

///////////////////////////////////////////////////////////////////////

and when I run the program,there is nothing on the output window,can you explain why i get the lousy code in the build information?
thank you very much !!

I use the codelite-2.7.0.4375-mingw4.4.1-wx2.8.10 under windowsXP
What this has to do with this thread? Please open a different thread for this

Eran
Make sure you have read the HOW TO POST thread
Post Reply