[GHC] #942: Windows programs throw uncaught Invalid HANDLE exception on exit

GHC trac at galois.com
Sun Oct 22 12:53:14 EDT 2006


#942: Windows programs throw uncaught Invalid HANDLE exception on exit
--------------------------------------------+-------------------------------
 Reporter:  brianh at metamilk.com             |          Owner:         
     Type:  bug                             |         Status:  new    
 Priority:  normal                          |      Milestone:  6.6.1  
Component:  Runtime System                  |        Version:  6.6    
 Severity:  normal                          |     Resolution:         
 Keywords:  uncaught exception HANDLE exit  |     Difficulty:  Unknown
 Testcase:  N/A                             |   Architecture:  x86    
       Os:  Windows                         |  
--------------------------------------------+-------------------------------
Comment (by brianh at metamilk.com):

 If there is no Debug context menu in Windows Explorer when you navigate to
 main.exe, another way to get VS 2003 to debug the program is by creating a
 new C++ project in VS 2003, removing the source and header files from the
 project (and the project directory), then create a Debug sub directory in
 the project folder and copy main.exe into it. You need to rename main.exe
 to have the same name as the project. Then hit F5 in VS 2003 and VS will
 debug the program.
 I assume this technique should also work in VS 2005 but unfortunately I
 only have VS 2003 on my computer.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/942>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list