64-bit debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markdavies2003@msn.com

    #1

    64-bit debugging

    I'm having trouble with debugging programs with VB.NET 2005 on a
    Windows 2003 Server *64-bit* machine. Rather than displaying an error
    message for unhandled exceptions, the program just terminates. The
    identical program, though, will display error messages on my Windows
    2003 Server *32-bit* machine. I have checked all of the debugging
    options (Tools / Options / Debugging) on the two machines, and they
    are identical.

    For example, I purposely throw an error with the following simple
    code:

    txtFirstName = "Fred"
    txtSubstring = txtFirstName.Su bstring(0, 20)

    On the 32-bit machine, it displays an error message:

    ArgumentOutOfRa ngeException was unhandled:
    Index and length must refer to a location within the string. Parameter
    name: length

    and identifies the line of code that threw the error. But on the 64-
    bit machine, the program just terminates at the second line -- no
    debugging at all.

    Any suggestions? Thanks in advance.

    Mark Davies

    P.S. Here's the version information for the two machines -- they're
    identical:

    64-bit machine::
    Microsoft Visual Studio 2005
    Version 8.0.50727.42 (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727
    Installed Edition: Professional

    32-bit machine:
    Microsoft Visual Studio 2005
    Version 8.0.50727.42 (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727
    Installed Edition: Professional
Working...