Command window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Lloyd

    Command window

    Hi,

    I am trying to debug my application using the command window but i keep
    getting:
    error: 'blah' does not exist.

    I am trying to debug some concatination by doing
    ?Request.FilePa th.LastIndexOf( "/")

    All i get is
    : error: 'Request.FilePa th.LastIndexOf' does not exist

    Can anyone tell me how i can do this (Like in VB!!!)

    Thanks for any help.

    Steve



  • Nathan Kovac

    #2
    Re: Command window

    I havn't used the debugger with web apps, I still use the old asp for that.
    Gave vs2005 a try but after many hours of frustration trying to do simple
    things gave up.

    In a windows app I use the command window by setting a breakpoint in the
    code. When that breakpoint is hit it pauses the program.

    I then can print things in the command window like you have below.

    ? varName

    I know I can only print variables or the result of functions if they are in
    scope at the point my breakpoint is reached so this is the only reason I can
    think of for you to get this error.

    -Nathan

    "Steve Lloyd" <steveRemoveThi sNow@livenowpay later.co.uk> wrote in message
    news:eNH1MmxcFH A.3144@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi,
    >
    > I am trying to debug my application using the command window but i keep
    > getting:
    > error: 'blah' does not exist.
    >
    > I am trying to debug some concatination by doing
    > ?Request.FilePa th.LastIndexOf( "/")
    >
    > All i get is
    > : error: 'Request.FilePa th.LastIndexOf' does not exist
    >
    > Can anyone tell me how i can do this (Like in VB!!!)
    >
    > Thanks for any help.
    >
    > Steve
    >
    >
    >[/color]


    Comment

    Working...