gettingstarted
[Top] [All Lists]

Re: Debugger crashes on breakpoint

To: "Getting Started" <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Debugger crashes on breakpoint
From: "John Melson" <jamelson at kaxy dot com>
Date: Mon, 27 Oct 2003 22:10:23 -0500
References: <FA21FDB8-08EB-11D8-A73C-003065D91F8C at earthlink dot net>
What kinda of crash are you talking about? What is the error message?
----- Original Message -----
From: Wayne Dreier <wwdmld at earthlink dot net>
To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Sent: Mon, 27 Oct 2003 21:11:01 -0500
Subject: Debugger crashes on breakpoint

> Here is some code I am using (leaving out most of the unnecessary lines).
> 
>    Dim File As FolderItem
>    Dim FileStream As TextOutputStream
> 
>    File = GetFolderItem("Last Source Number")  // If I set a breakpoint 
> here it will crash
>    FileStream = File.CreateTextFile
>    (... more code here)
>    FileStream.Close
> 
>    File = GetFolderItem("Source File")  // If I instead set a breakpoint 
> here it will crash
>    FileStream = File.AppendToTextFile
>    (... more code here)
>    FileStream.Close
> 
>    Counter = 0
>    LC = pmSearchLocation.ListCount
>    File = GetFolderItem("Popup Menu Values")  // If I instead set a 
> breakpoint here it will crash
>    FileStream = File.CreateTextFile
>    (... more code here) // If I instead set a breakpoint here it will NOT 
> crash
>    FileStream.Close
> 
> The debugger runs fine and compiles if I don't set a breakpoint at all. 
> If I run the build app. it too runs ok.
> 
> I suspect it has something to do with the fact I'm using File =  (a 
> different file each time) because prior to this I Dimmed each one with a 
> different name and also used a different name for each of the 
> FileStream(s) and did not have the problem.
> 
> Has anyone else had this happen? If so, what can be done?
> 
> Wayne
> 
> 
>  - - -
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
--
This email was brought to you by Kaxy Mail 
http://www.kaxy.com/free_email_account.htm

 - - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>