]> granicus.if.org Git - python/commitdiff
Try some tracing
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 17 Apr 2006 10:19:25 +0000 (10:19 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 17 Apr 2006 10:19:25 +0000 (10:19 +0000)
Tools/buildbot/kill_python.c

index 46a14b78a204d7b9ffdc0b53f7d594a84c0df21a..f84df1d5a32ceaa7cf7baa95eb688772c9e7fb0b 100644 (file)
@@ -13,6 +13,7 @@ int main()
                return 1;
        }
        num_processes = cbNeeded/sizeof(pids[0]);
+        printf("%d processes\n", num_processes);
        for (i = 0; i < num_processes; i++) {
                HANDLE hProcess;
                char path[MAX_PATH];
@@ -41,7 +42,8 @@ int main()
                }
 
                _strlwr(path);
-               /* printf("%s\n", path); */
+               printf("%s\n", path);
+                fflush(stdout);
                if (strstr(path, "build\\pcbuild\\python_d.exe") != NULL) {
                        printf("Terminating %s (pid %d)\n", path, pids[i]);
                        if (!TerminateProcess(hProcess, 1)) {
@@ -53,4 +55,4 @@ int main()
 
                CloseHandle(hProcess);
        }
-}
\ No newline at end of file
+}