Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
readme.txt | 2013-02-26 | 2.3 kB | |
HapDebuggerSrc.zip | 2013-02-26 | 1.2 MB | |
HapDebuggerBin.zip | 2013-02-26 | 523.8 kB | |
Totals: 3 Items | 1.7 MB | 1 |
This updates the HAP debugger so that it builds with VS 2010. It is built against Python 2.7. Various bugs were fixed. - fixed a requirement that the HapClient be built with the same version of VC++ as Python. This restriction occurred because the HapClient was passing a FILE* to Python and the layout of the FILE object changes between VC++ versions. This restriction was inconvenient because it prevented upgrading HapClient to VS 2010. Using PyRun_SimpleString instead of PyRun_SimpleFile to start the debugging session removed this dependency. - Got everything to build mostly warning free with VS 2010 - Added VS 2008 and VS 2010 solution files (VS 2005 no longer supported). The VS 2010 solution is recommended for future development as the VS 2008 solution may be out of date. - Fixed erroneous use of namespace aliases - Changed from stricmp/strnicmp/strlwr to the ISO C++ _stricmp/_strnicmp/_strlwr to suppress deprecation warnings - Fixed some const-correctness errors - Added pre-build checks for the existence of $PYTHON_ROOT\include\python.h - Added a force-clearing of the PYTHONHOME environment variable due to problems it causes on my machine. This line (in hapdebugger, AfxWinMain) may need removing on some people's machines. - Fixed the function declarations for OnNcHitTest to match the new correctness - Added and used a HAP_MIN template function to avoid namespace problems with min and MIN - Added _CRT_SECURE_NO_WARNINGS to the preprocessor definitions to suppress lots of warnings, which should probably be individually addressed at some point. - Got debug builds to work by changing _DEBUG to NDEBUG and specifying the release CRT. The only difference now between debug and release should be optimization. This change was needed because a true debug build of the debugger would require a debug build of Python, which is unwieldy. The P4ApiWrapper project doesn't build in debug for some reason, but the others all do. - Fixed filter.txt to filter out new intermediate files like .ipch and .sdf files when building a release - Fixed makerelease.bat to clean it up, support VS 2010, and fix numerous obsolete options. - Fixed bug with files not in folders not getting saved, by forcing them into folders. - Fixed infinite loop when dragging folders to the project root