aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-10-29 17:03:25 +1100
committerNeil <nyamatongwe@gmail.com>2025-10-29 17:03:25 +1100
commit527af5a4ec23792f40dd26dbbc076b006d75369d (patch)
treea8f8bee04146ded4abb0574870b17e32d7a74293 /src/Editor.cxx
parent66185664e71b7cd65fa933467e338c665b2d5b88 (diff)
downloadscintilla-mirror-527af5a4ec23792f40dd26dbbc076b006d75369d.tar.gz
Feature [feature-requests:#1567]. Fix running tests in Visual C++ debugger.
Set optional SCINTILLA_BIN environment variable to point to build directory. It's unclear just what the problem was but Python 3.13 would crash out in window handling code when run inside the debugger and using its HINSTANCE. Changing to a global class and using None for the HINSTANCE made it work. There are various other minor problems here like using c_int (32-bit) for the window procedure return instead of c_ssize_t (64-bit) but they are not worth destabilizing the code further. Example Scintilla.vcxproj.user for debugging a test script with a particular Python interpreter. <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <LocalDebuggerCommand>C:\Users\Neil\AppData\Local\Programs\Python\Python313\python.exe</LocalDebuggerCommand> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> <LocalDebuggerCommandArguments>G:\u\hg\scintilla\test\simpleTests.py</LocalDebuggerCommandArguments> <LocalDebuggerWorkingDirectory>G:\u\hg\scintilla\test\</LocalDebuggerWorkingDirectory> <LocalDebuggerEnvironment>SCINTILLA_BIN=G:\\u\\hg\\scintilla\\win32\\x64\\Debug</LocalDebuggerEnvironment> </PropertyGroup> </Project>
Diffstat (limited to 'src/Editor.cxx')
0 files changed, 0 insertions, 0 deletions