Question: I am trying to make a webpage which scrolls content, and when it reaches the bottom of the content continue to scroll the bottom off the page, while scrolling the top back on - so the bottom and the top will be on screen at the same time. Like the `<marquee>` tag, but vertically.

Only stuff I've managed to think up so far is (on load I use `setInterval()` to run this every 75ms)

```
function doScroll() {

window.scrollBy(0,1);

if($(window).scrollTop() + $(window).height() == $(document).height()) {
    window.scrollTo(0,0);   
}

}

```

Answer: 
You should be able to debug the C#.NET dll by setting the start action under Debug to

> 
> Start external program
> 
> 
> 

and specify the VB6 executable as the program.

I know this works as I use this to debug a .NET/C# plugin for an old VB6 application.

It shouldn't matter how many other dlls (.NET or otherwise) you have to go through to get to the code you are trying to debug.
ah vb6 :) it's been a long time....

basically, you can't debug .NET code within VB6 IDE.

However, nothing stops you from creating a .NET test project to unit test the .NET dll. *And that's what you should have done prior to reference it in VB6.*

If you need to track down a specific issue, another way you can use is to write debugging infos to a file/database/event view/... when the dll is in debug mode, like which functions were called, parameters, stack trace...