- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am debugging an exe with a breakpoint. I have its output file a.out loaded.
a.out is a zero length file as I have deleted its contents and saved it.
I start an instance (right click on project in solution explorer).
It runs up to the break.
Message - Do I wish to reload changed a.out?
I click ok
a.out is still empty
I click on stop debug
Message - Do I wish to reload changed a.out?
I click ok
a.out has lots in it.
Is this fault or am I not doing this right?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh yes forgot to add.
I just installed the latest Version 8.1.2613.2003
Very disappointed to find the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By default, files are opened in DENYALL mode so it is not possible to open them while they are opened.
Try to open your .out file with the SHARE="DENYNONE" (or "DENYWRITE" to externally open it in readonly mode) option but be careful because impredictable results may occur if you modify the file while it is opened.
Try to open your .out file with the SHARE="DENYNONE" (or "DENYWRITE" to externally open it in readonly mode) option but be careful because impredictable results may occur if you modify the file while it is opened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll comment that this does not involve the compiler product at all. You are in pure Microsoft Visual Studio code when you are opening external files.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page