Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug Builder 6.0 Personal

Status
Not open for further replies.

ColTomb

Programmer
Oct 9, 2005
10
US
I can't get it to do much of any debugging.
I'd start with F4 (run to cursor) but it doesn't stop.

There are a host of other problems, too.

Any ideas (maybe I should re-install) ?

 
Is your IDE setting in "debug" mode or "Release" mode? Check Project->Options and Compiler tag.

Is it also possible that the section of code you put the stop in doesn't get executed?



James P. Cottingham
-----------------------------------------
I'm number 1,229!
I'm number 1,229!
 
Sir,
Thanks for your assistance. I didn't know about this function of the IDE. It is in FULL DEBUG mode. I've just tried different things and it makes no difference.

Yes, the code is being executed (mostly). I can see that a function is being called by the intended results but when I imbed a simple line to check that (example: place a button on the form and tell it to change the caption) THAT PART doesn't execute. It's crazy.

-sure would appreciate any other ideas.
 
Can you post part of your code?


James P. Cottingham
-----------------------------------------
I'm number 1,229!
I'm number 1,229!
 
Here's a piece from a menu that uses a shortcut that won't execute at all (caption doesn't change):

void __fastcall TF1::mnuEditNewSrchClick(TObject *Sender)
{
Button1->Caption = "HERE";
}
//---------------------------------------------------------------------------
 
In order to eliminate redrawing errors, try this code in place of the button caption.
Code:
Application->MessageBox("I got HERE.", "Code Executed", MB_OK);

This code gets executed when someone presses the EditNewSrch, correct?

James P. Cottingham
-----------------------------------------
I'm number 1,229!
I'm number 1,229!
 
I've got some major problem. That code SHOULD execute with either the shortcut or clicking on the menu item but it doesn't. I get NO code execution with a simple buttonClick, either. Some code works, some code does not. Maybe that's why I cannot debug properly such as F4 "execute to this line" or F7 "Step into." I have a recent install of Winblows so I'm inclined to rule out the "Three R's of Microsoft" (Reboot, Reformat, Reinstall). Maybe I'll try a re-install of the Builder 6.0

Would you concur ?
 
2ffat,
Thanks for your interest and your help.
FYI:
1. I re-installed Builder 6.0 and that made no difference.
2. I started over (fortunately I wasn't terribly deep into this project) and it has cured many problems. Another malfunction I had was with defines working. There were probably even more problems that I hadn't encountered, yet. But now F4 and F7 work as they should.

Cheers !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top