Archive: How to debug project with vs2003


How to debug makensis with vs2003
I want to debug or modify the code, but how can I open it with vs2003? It seems that it is difficult to make sln file by myself.


up


Compile with DEBUG=yes and you should get a pdb file. Search for ['DEBUG'] in the *.py files and you should easily find out how to add more flags yourself.


Originally posted by kichik
Compile with DEBUG=yes and you should get a pdb file. Search for ['DEBUG'] in the *.py files and you should easily find out how to add more flags yourself.
Thanks kichik.

May I open NSIS as a VS2003 project and debug it in vs entironment? I'd like to enhance the feature of NSIS. If I can debug it directly, it will be easy.

This is not currently possible because there are no project files. However, SCons supports exporting Visual Studio projects. I think the newer versions also support VS2003, but even if not, you can always import VS6 projects. Take a look at MSVSProject in the manpage. If you come up with a patch to generate project files for makensis, I'll happily include it in the next version.


If web install could be enhanced, maybe I don't need to modify it, :)

Anyway, I am interested in it and will take a look at it.

Thanks kichik.