Re: VS 2003 locks .js files in debug mode



On Mar 13, 9:08 pm, "Bryan Phillips"
<bphill...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
The files technically are not locked. You could edit them using
notepad, but you can't edit the file in the same IDE session that is
debugging the file.

To get around this, I invoke the debugger and use another instance of
the IDE to handle the user breakpoint while the original IDE is used to
make changes.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com

"sluderisintheho...@xxxxxxxxx" <sluderisintheho...@xxxxxxxxx> wrote in
messagenews:1173722613.403064.96930@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:



I have a C# project with a large amount of Javascript. The scripts
are include in the .aspx like so:

<SCRIPT language="javascript" src="myScripts.js"></SCRIPT>

When I run in debug mode Visual Studio makes the myScripts.js file
read-only and I am unable to edit on the fly. I am able to open the
file in notepad and make changes, which VS picks up after you refresh
the running page. Does a setting exist (maybe in the registry?) to
not lock the .js files while runnning in debug mode? I can edit the
ASPX files on the fly so I hope the same can be done with .js files
in
the VS envoronment.

thanks,
Steve- Hide quoted text -

- Show quoted text -

Bryan,

Thanks for the info. I have been using a notepad editor then
refreshing the page but I was hoping there might be a better way.

Steve

.



Relevant Pages

  • Re: VS 2003 locks .js files in debug mode
    ... You could edit them using notepad, but you can't edit the file in the same IDE session that is debugging the file. ... I invoke the debugger and use another instance of the IDE to handle the user breakpoint while the original IDE is used to make changes. ...
    (microsoft.public.vsnet.debugging)
  • Re: POP UP when trying to edit Stationery files on OE
    ... Notepad like i wanted it too....this is too strange!!... ... POP UP when trying to edit Stationery files on OE ... For over a year i have been able to edit stationery files using Notepad ... I have even gone as far as selecting "choose another program" and then ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: installing os to 2nd hard drive
    ... Now to get the pesky errors fixed at startup. ... but I can edit my boot.ini file. ... Settings, in the System Startup panel clk Edit, and that will ... allow you to edit the boot.ini file using Notepad. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Simplest way to turn an excel column into a savedlist
    ... Edit> Paste ... Then Copy it into your Pointer File ... Normally using Hostaccess or Accuterm I would skip the copy to notepad part. ...
    (comp.databases.pick)
  • Re: IDE problem in vs 2003
    ... >> I'm having a problem while writing code in the IDE for VB.NET 2003. ... >> This happens on several development machines. ... only for a moment while you edit). ... haven't been able to make this happen with a specific sequence of editing ...
    (microsoft.public.dotnet.languages.vb)

Loading