|
| |
|
|
wattle
Posts: 254 Joined: 3/31/2003 From: Australia Status: offline
|
Line number of code - finding it.. - 5/28/2003 21:32:10
Over the last couple of weeks I' ve been playing with ASP. Because I' m still clueless I get some error messages on pages I have hand coded. The errors do give the line number which is very helpful. My question is how can I find that line number quickly to fix the code? At the moment I am looking at the page with errors in Dreamweaver > HTML source and selecting ' Line Numbers' to find the line the error is on. I then go to Notepad to fix up my mistakes. Apologies again for the very silly questions I ask - am not a web developer - just got the job because I happen to do most of software training Wattle
|
|
|
|
Richard Dudley
Posts: 668 Joined: 8/22/2002 From: Butler, PA Status: offline
|
RE: Line number of code - finding it.. - 5/28/2003 22:25:19
FrontPage has the lines numbered, but it is the raw source code, and may not correspond to the line number returned in IE when you generate an error (usually dpeends on whether error is server side or client side). I don' t know how DreamWeaver works, but a nice light little tool that numbers lines is VBSEditor. You' ll find it at http://www.koansoftware.com/Eng/script.htm.
_____________________________
I need to change my avatar--the puppy is full grown now!
|
|
|
|
Mojo
Posts: 2441 From: Chicago Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 0:05:52
In DW --> view > Code View Options > check LINE NUMBERS
_____________________________
Split Testing Order Fulfillment Emergency Kits
|
|
|
|
wattle
Posts: 254 Joined: 3/31/2003 From: Australia Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 0:21:50
quote:
In DW Mojojo, what does DW stand for? Hanging my head in shame for asking something that is probably totally obvious .......
|
|
|
|
abbeyvet
Posts: 5095 From: Kilkenny Ireland Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 6:11:32
DW= DreamWeaver To go to line numbers in FP, go to HTML view, right click, click Go to.." Enter the line number you want to go to.
_____________________________
Katherine :: InKK Design :: InKK Domains
|
|
|
|
Doug G
Posts: 1189 Joined: 12/29/2001 From: SoCal Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 15:17:11
Win2000 and XP notepad has a go to menu (or use ctrl-G). Just make sure word wrap is off. Open asp file in notepad, ctrl-G, enter failing line number and you are there. Another good, free editor is Araneae http://www.araneae.com/
_____________________________
====== Doug G ======
|
|
|
|
Ziggyzaz
Posts: 250 Joined: 5/29/2003 Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 18:49:53
if you want a line of code just hilight what it is exposed to bring up and then click the HTML button and FP will bring you there.
|
|
|
|
Richard Dudley
Posts: 668 Joined: 8/22/2002 From: Butler, PA Status: offline
|
RE: Line number of code - finding it.. - 5/29/2003 22:01:30
It takes a bit to find line numbers in InterDev, but they' re tucked away in the lower right corner of my environment (InterDev 6.0 right now). I think that' s standard, since I use INterDev so little and I have not modified the environment.
_____________________________
I need to change my avatar--the puppy is full grown now!
|
|
|
|
Doug G
Posts: 1189 Joined: 12/29/2001 From: SoCal Status: offline
|
RE: Line number of code - finding it.. - 5/30/2003 1:18:27
quote:
It takes a bit to find line numbers in InterDev, but they' re tucked away in the lower right corner of my environment (InterDev 6.0 right now). I think that' s standard, since I use INterDev so little and I have not modified the environment. Yes this is the default for VID6. You can ctrl-G to go to lines in InterDev also.
_____________________________
====== Doug G ======
|
|
|
|
wattle
Posts: 254 Joined: 3/31/2003 From: Australia Status: offline
|
RE: Line number of code - finding it.. - 5/30/2003 2:14:04
Goodness, it is fairly obvious in InterDev, didn' t notice it when I was in there. Did not think to look down the bottom right, had tunnel vision about seeing the numbering on the page down the left [:j] Thanks again Wattle
< Message edited by wattle -- 5/30/2003 2:14 AM >
|
|
|
|
Doug G
Posts: 1189 Joined: 12/29/2001 From: SoCal Status: offline
|
RE: Line number of code - finding it.. - 5/31/2003 0:06:05
quote:
Goodness, it is fairly obvious in InterDev, didn' t notice it when I was in there. Did not think to look down the bottom right, had tunnel vision about seeing the numbering on the page down the left Don' t feel bad. I used interDev 6 for maybe a year before I realized where line numbers were displayed. I never seemed to need line numbers very often :)
_____________________________
====== Doug G ======
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|