[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 122
  • Last Modified:

Better way to debug a class?

I wrote some classes and the debug is driving me craze.
it just lock up the system when I change some thing like comment out a redim statement, etc.
Is there a better way to debug? I am using VB 6 and with the regular vb debug step through.
0
wallacjb
Asked:
wallacjb
1 Solution
 
caraf_gCommented:
For all DLLs and OCX controls and the likes, make sure you set binary compatibility on.

Then add all your projects into a project group, making sure your main .exe is the main project.

Now you can step through the whole code, jumping from main .exe to one of your .dlls/ocxes and so on, without problems.
0
 
wallacjbAuthor Commented:
That is what I am doing. I can step to all code. My problem is if I do something in the code of the Cls(such as comment out a redim statement), the system often lockup.
0
 
wallacjbAuthor Commented:
Thank you waty.
I am increase the number of points
0
 
MoondancerCommented:
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
http://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now