I did that already and it works, but i thought to take a closer look at the source code (that includes using a debugger), and as i can see for now this is much easier from within msvc
You can generate msvc project files using scons.
From VS command prompt,
1. go to development/scons 2. run "scons msvs_projects" You can start msvs GUI using the generated lyx.vcproject file, and debug as usual. The only drawback is that msvs calls scons to rebuild, which is slower than cmake's native nmake build. Cheers, Bo
