473,547 Members | 2,653 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1492
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**@discussio ns.microsoft.co m> wrote in
news:63******** *************** ***********@mic rosoft.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********@rog ers.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**@discussio ns.microsoft.co m> wrote in
news:AC******** *************** ***********@mic rosoft.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********@rog ers.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**@discussio ns.microsoft.co m> wrote in
news:63******** *************** ***********@mic rosoft.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********@rog ers.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**@discussio ns.microsoft.co m> wrote in
news:56******** *************** ***********@mic rosoft.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********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2139
by: alonzo | last post by:
I am working on a piece of javaScript code and using MIE 6.0. I have and error and I would like to use a debugger to locate the error. Is there a debugger for MIE? How do I turn the debugger on for MIE? Where can I locate the debugger for MEI 6.0? I am using WIN 98 operating system.
4
1663
by: Matt | last post by:
For debugging javascript purposes, should we ensure the following check boxes (1-3) are checked. In IE browser, tools->Internet Options->Advanced Under Browsing, 1) disable script debugging 2) display a notification about every script error 3) show friendly HTTP error messages
6
9331
by: dennishancy | last post by:
Trying to debug someone else's javascript code. There is a line that looks like this: req = req.substring(req.length-2, req.length); >From what I can gather in their comments, they want to capture the last two characters of the string "req". I'm guessing that the above line won't do that, and they want to change it to
19
2099
by: Fabian | last post by:
Well, what can I say...I really hate Javascript. I am not programming as profession but I sometimes work with PHP with MySQL, ASP with Ms Access/SQL Server. I have done something in VB and when I was jounger I worked with C. But what happens with Javascript, it happens with no other language. I work with WinXP SP2 & IIS5, now. But also...
25
4261
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low cost way to do sophisticated debugging in IE6 other than to use the debugger described below, which is horribly documented otherwise. I feel...
2
1463
by: Chris | last post by:
Hi, I have a Javascript function that loads a page with a progress bar for long process. The progress bar is a gif animation and for some reason it the animation is stuck when the function is called so it looks like an image and not an animation. I have decided to put a wait function that will pause for 3 sec so that the animation will be...
2
1139
by: Alex Nitulescu | last post by:
I have the option 'Just in time debugging' set as CLR/Native/Script. In Project Properties/Debuggers I have ASP.NET debugging. Still, although I have breakpoints set everywhere in my javascript, , inluding on "function Init()", the execution it never stops anywhere, and I have NO idea of why my code does not appear to do anything. Thank...
4
1485
by: paul.denlinger | last post by:
Please excuse this very basic question; I'm just starting to learn JavaScript. I have just modified added a toUpperCase statement to change strings to upper case, but it does not run. Can you please tell me what I have done wrong? I have pasted the code in below. Thank you.
6
2062
by: Morgan Packard | last post by:
Hello, Wondering what everyone's experience with breakpoint debugging is here. I've been using firebug for a few years and, while I'm delighted to have _some_ debugging ability, I've found it to be very fussy, difficult to know when it's going to work or not. I'm curious how others approach debugging, and if anyone here feels they are able...
0
7703
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6032
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5362
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3473
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1923
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1050
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
748
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.