471,075 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

javascript debugging

1. I find that debugging does not work if the JavaScript you wish to debug is
included in your program via src="blah". All of my programs use this because
I have many common scripts that are used throughout my application. It also
gives a very limited amount of security to prying eyes.

2. If I extract the portion of the JavaScript I wish to debug and put it
locally within the aspx file, the debugging works.

3. If I try to debug both my vb.net code and JavaScript concurrently it
doesn't work.

4. I am finding that I have a very cpu resource goes to 99% more often then
not and find that I must recycle IIS or boot to get visual studio and
debugging to work again.

5. Basically I am trying to accomplish a 30 minute task and so far I've
exceed several hours for this simple task.

Any help would be greatly appreciated.
Nov 19 '05 #1
5 1412
Additionally the programs behave very differently(all not at all) when run
under the debugger. If I build my application fresh and run it normally
through IE everything works.

"Bill" wrote:
1. I find that debugging does not work if the JavaScript you wish to debug is
included in your program via src="blah". All of my programs use this because
I have many common scripts that are used throughout my application. It also
gives a very limited amount of security to prying eyes.

2. If I extract the portion of the JavaScript I wish to debug and put it
locally within the aspx file, the debugging works.

3. If I try to debug both my vb.net code and JavaScript concurrently it
doesn't work.

4. I am finding that I have a very cpu resource goes to 99% more often then
not and find that I must recycle IIS or boot to get visual studio and
debugging to work again.

5. Basically I am trying to accomplish a 30 minute task and so far I've
exceed several hours for this simple task.

Any help would be greatly appreciated.

Nov 19 '05 #2
"=?Utf-8?B?QmlsbA==?=" <Bi**@discussions.microsoft.com> wrote in
news:63**********************************@microsof t.com:
1. I find that debugging does not work if the JavaScript you wish to
debug is included in your program via src="blah". All of my programs
use this because I have many common scripts that are used throughout
my application. It also gives a very limited amount of security to
prying eyes.
Strange, works for me. My debugger breaks into src files fine.
2. If I extract the portion of the JavaScript I wish to debug and put
it locally within the aspx file, the debugging works.

3. If I try to debug both my vb.net code and JavaScript concurrently
it doesn't work.
This works for me - but you'll have to attach 2 debuggers, one for ASP.NET
and another for IE.
4. I am finding that I have a very cpu resource goes to 99% more often
then not and find that I must recycle IIS or boot to get visual studio
and debugging to work again.


--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #3
"=?Utf-8?B?QmlsbA==?=" <Bi**@discussions.microsoft.com> wrote in
news:AC**********************************@microsof t.com:
Additionally the programs behave very differently(all not at all) when
run under the debugger. If I build my application fresh and run it
normally through IE everything works.


Could be a threading issue - do you have concurrent threads running?

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #4
In reference to the 'Pink Pather' I see you are using the old "it works on my
computer ploy" ;-)

Thanks for the suggestion and quick reply. This is a very simple application
with no threading as least not that I initiate. Oddly enough when I moved the
suspect code to the aspx file the debugging and code worked. This part is
fuzzy....I don't how many processes I killed or reboots I performed. After
that I then place the code back into the src file and it workes like a charm.
Someone must have been reading my very uncensored rebuffs I added to visual
studios automated error reporting system text xml file.

"Lucas Tam" wrote:
"=?Utf-8?B?QmlsbA==?=" <Bi**@discussions.microsoft.com> wrote in
news:63**********************************@microsof t.com:
1. I find that debugging does not work if the JavaScript you wish to
debug is included in your program via src="blah". All of my programs
use this because I have many common scripts that are used throughout
my application. It also gives a very limited amount of security to
prying eyes.


Strange, works for me. My debugger breaks into src files fine.
2. If I extract the portion of the JavaScript I wish to debug and put
it locally within the aspx file, the debugging works.

3. If I try to debug both my vb.net code and JavaScript concurrently
it doesn't work.


This works for me - but you'll have to attach 2 debuggers, one for ASP.NET
and another for IE.
4. I am finding that I have a very cpu resource goes to 99% more often
then not and find that I must recycle IIS or boot to get visual studio
and debugging to work again.


--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/

Nov 19 '05 #5
"=?Utf-8?B?QmlsbA==?=" <Bi**@discussions.microsoft.com> wrote in
news:56**********************************@microsof t.com:
In reference to the 'Pink Pather' I see you are using the old "it
works on my computer ploy" ;-)


: )

Did you attach a javascript debugger directly to your instance of Internet
explorer?

If you do, there should be a "running documents" window, which you can use
to select the proper .js file.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by alonzo | last post: by
6 posts views Thread by dennishancy | last post: by
19 posts views Thread by Fabian | last post: by
2 posts views Thread by Chris | last post: by
2 posts views Thread by Alex Nitulescu | last post: by
4 posts views Thread by paul.denlinger | last post: by
6 posts views Thread by Morgan Packard | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.