Remote Debugging in Visual Basic 6.0
:wave:Hello everybody!!
I want to debug my visual basic 6.0 application on the remote computer.
For example:
The application and the visual studio 6.0 are existing in computer nr.1, but the result's from debugging I want to see on another computer for example computer nr.2, which is connected on the same LAN network.
please help
Re: Remote Debugging in Visual Basic 6.0
Your app can PRINT LOG STATEMENTS to a file, and save it anywhere it has permission, but that's not the way to go about it.
Explain why you want to do that, and there just might be a way to do it, that works.
Re: Remote Debugging in Visual Basic 6.0
http://www.codeproject.com/Articles/...-step-in-the-O
This is the link where I find solution about remote debugging with visual C++ 6.0. I am asking is it possible this procedure in Visual Basic 6.0 because I am beginner with Visual Basic 6.0, but I am experienced with Visual C++.
Here is the problem again:
Computer 1
-where I am sitting physically and debugging with breakpoints.
-the Visual Studio 6.0 is on this computer
-the application which i debug is also on this computer
Computer 2
- have only Windows 7 and it is on same LAN network with first computer (both computers can see each other through network).
-this computer shows just the results for example: if i press F10 on first computer, on second computer shows the console printing for example "Hello World".
This is 100% possible with Visual C++6.0
Re: Remote Debugging in Visual Basic 6.0
I do not know if it would be possible or not but I am wondering why you would have the need or desire to do so.
Doesn't make much sense to not be either on or remotely connected to your IDE if you are trying to write software. I would say either use remote desktop or the like or use the XP machine or install the development environment on the pc you are using.
Yes you may be able to use the microsoft debugger but you would be looking at ASM rather than basic code so it may not do you much good.
Re: Remote Debugging in Visual Basic 6.0
Well, the need to do that is because when you debug some GUI application you can not see always the graphical elements and windows while debugging. With the remote debugging I can always see the code and the application. Also it is used for some graphical applications where this debugging is so important for developer to see if everything is good at the right moment.
Re: Remote Debugging in Visual Basic 6.0
Wouldn't it be easier to just borrow a second monitor? Just take the one that is currently connected to the remote machine.
Re: Remote Debugging in Visual Basic 6.0
Is there ANYONE who knows what is REMOTE DEBUGGING? It is not the point to view all the debugging process from another computer, the aim is to part the code which is debugged from the running application.
Re: Remote Debugging in Visual Basic 6.0
Re: Remote Debugging in Visual Basic 6.0
Quote:
Originally Posted by
acects
Is there ANYONE who knows what is REMOTE DEBUGGING? It is not the point to view all the debugging process from another computer, the aim is to part the code which is debugged from the running application.
Yes, I know what remote debugging is. But given this comment:
Quote:
Originally Posted by
acects
Well, the need to do that is because when you debug some GUI application you can not see always the graphical elements and windows while debugging. With the remote debugging I can always see the code and the application. Also it is used for some graphical applications where this debugging is so important for developer to see if everything is good at the right moment.
it is not clear that remote debugging is actually what you need. If you have two monitors connected to one computer, you can have the application shown full-screen on one and Visual Studio (with all the windows showing breakpoints, console output, code etc) on the other. You obviously have two monitors you can use, as using remote debugging you need full use of the one showing console output. So why wouldn't connecting this screen to your computer solve your problem?
Re: Remote Debugging in Visual Basic 6.0
Quote:
Originally Posted by
Peter_B
Yes, I know what remote debugging is. But given this comment:
it is not clear that remote debugging is actually what you need. If you have two monitors connected to one computer, you can have the application shown full-screen on one and Visual Studio (with all the windows showing breakpoints, console output, code etc) on the other. You obviously have two monitors you can use, as using remote debugging you need full use of the one showing console output. So why wouldn't connecting this screen to your computer solve your problem?
Well OK this helps with 2 monitors. But what is the tool from Visual Basic 6.0 which gives me this opportunity with 2 monitors?
thanks
Re: Remote Debugging in Visual Basic 6.0
Quote:
Originally Posted by
HanneSThEGreaT
Ok thank you, I read this articles and if possible that is my only chance:thumb:
with windbg, I shall review the posibilities of WinDbg application
Re: Remote Debugging in Visual Basic 6.0
Quote:
Originally Posted by
acects
Well OK this helps with 2 monitors. But what is the tool from Visual Basic 6.0 which gives me this opportunity with 2 monitors?
Dual monitor support has nothing to do with Visual Basic. It is the operating system which handles the second monitor. Just plug it in the back of your computer (you may need to shutdown your computer first). Then Windows will recognise the new monitor and you can tell it where it is in relation to the first one using the 'Display Properties' dialog.
Google 'Multiple monitors in Windows <version>' if you need more details, as it may vary depending upon your version.
Re: Remote Debugging in Visual Basic 6.0
Assuming of course that you pc or Video card supports 2 monitors, Most do nowadays.
I use dual monitors a lot while coding, It is very nice to be able to have your database or project notes or spec sheet open on one monitor while having the code window open on another.
Re: Remote Debugging in Visual Basic 6.0
Windows can use multiple graphics cards, each supporting 2 monitors. Some cards have 4 ports, but I think the limit per display adapter is 8. Might have multiples. Not sure.