Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. debugging ControlLibrary (dll) called from ASPX page

debugging ControlLibrary (dll) called from ASPX page

Scheduled Pinned Locked Moved Visual Basic
helpquestioncsharpasp-netdebugging
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    iluha
    wrote on last edited by
    #1

    Hello everyone! I have a question that I have been trying to solve and I can find a solution, if you know please share you wisdom! I'm making a DLL that will be used by a ASPX page, this is not an ASP.NET application, just a DLL loaded by the page. very simple, ControlLibrary code: Namespace hello_world Public Class cHello Public ReadOnly Property sayhello() As String Get Return "hello" End Get End Property End Class End Namespace page code: <%@ Page Language="VB" Explicit="False" %> <%@ import Namespace="hello_world" %> Dim aHello As cHello Sub Page_Load(Sender As Object, E As EventArgs) aHello = New cHello() End Sub !!!!!<%=aHello.sayhello()%>!!!!!!!!! Not much and it works, the only problem I can't debug it. when I put the break point on Public ReadOnly Property sayhello() As String nothing happens, I get my hello on the page but it does not stop... as far as I could find it there use to be an option in studio 2003 called "Enable ASP.NET debugging" but I can't find in 2005. Does anyone knows what I need to do? please help! Thank you ipokrov

    D 1 Reply Last reply
    0
    • I iluha

      Hello everyone! I have a question that I have been trying to solve and I can find a solution, if you know please share you wisdom! I'm making a DLL that will be used by a ASPX page, this is not an ASP.NET application, just a DLL loaded by the page. very simple, ControlLibrary code: Namespace hello_world Public Class cHello Public ReadOnly Property sayhello() As String Get Return "hello" End Get End Property End Class End Namespace page code: <%@ Page Language="VB" Explicit="False" %> <%@ import Namespace="hello_world" %> Dim aHello As cHello Sub Page_Load(Sender As Object, E As EventArgs) aHello = New cHello() End Sub !!!!!<%=aHello.sayhello()%>!!!!!!!!! Not much and it works, the only problem I can't debug it. when I put the break point on Public ReadOnly Property sayhello() As String nothing happens, I get my hello on the page but it does not stop... as far as I could find it there use to be an option in studio 2003 called "Enable ASP.NET debugging" but I can't find in 2005. Does anyone knows what I need to do? please help! Thank you ipokrov

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I'm not expert in ASP.NET coding or debugging, but it would seem that you have to attach the Debugger to the ASPNET_WP process in order to make this work. You'll find the "Attach to Process..." menu item under the Debug menu.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups