Wednesday, January 27, 2010

ant compile without debug information by default

I've wrote a build.xml for a java project and found out that the application trace contained exceptions stack trace with "(Unknown Source)" instead of line numbers.
I found out that ant compile without debug information by default.

The way to set debug information is by adding
debug="true" debuglevel="lines,vars,source"
to the javac task.


Sunday, January 10, 2010

Can not open solutions and projects in Visual Studio 2003

One day I could not open solutions and projects in my Visual Studio 2003 - every time I've doubled click the solution then the Visual Studio had crashed immediately.


The Solution:
delete my account profile for VisualStuido in windows by:
1) go Documents and Settings - Find your account - Application Data - Microsoft - delete your VisualStudio folder.
2) go Documents and Settings - Find your account - Local Settings - Application Data - Microsoft -delete your VisualStudio folder.

The Investigation:
I've Googled with th error in the Windows event viewer log.