Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Better way to debug a class?

Posted on 1999-09-09
5
Medium Priority
?
121 Views
Last Modified: 2010-05-02
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
Comment
Question by:wallacjb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 10

Expert Comment

by:caraf_g
ID: 2033274
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
 

Author Comment

by:wallacjb
ID: 2033357
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
 
LVL 14

Accepted Solution

by:
waty earned 400 total points
ID: 2033449
0
 

Author Comment

by:wallacjb
ID: 2043627
Thank you waty.
I am increase the number of points
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6868709
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question