| View previous topic :: View next topic |
| Author |
Message |
Simon Farmer Guest
|
Posted: Thu Feb 23, 2006 9:03 am Post subject: How to Debug without VCL debugging in BCB 2006 |
|
|
Hi,
In BCB6 you could specifiy if you wanted to have bug information for the VCL
libraries. In BCB2006 I can't find the option. If you include debug
information the debugger always tries to step into the memory allocation
routines which is a pain as it constantly steps into system.pas or the cpu
window. :<
Is there away to specify debugging just for your own files in BCB2006?
Thanks
Simon |
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Thu Feb 23, 2006 10:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Simon Farmer wrote:
| Quote: | Is there away to specify debugging just for your own files in BCB2006?
|
No but there is an option to automatically close files implicitly
opened by the debugger when debugging ends.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
Simon Farmer Guest
|
Posted: Thu Feb 23, 2006 10:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
| Quote: | No but there is an option to automatically close files implicitly
opened by the debugger when debugging ends.
|
What a pain in the arse, any ideas why Borland have removed another useful
piece of code?
Simon |
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Thu Feb 23, 2006 11:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Simon Farmer wrote:
| Quote: | What a pain in the arse, any ideas why Borland have removed another
useful piece of code?
|
Nope.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Thu Feb 23, 2006 5:03 pm Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Simon Farmer wrote:
| Quote: | Is there away to specify debugging just for your own files in BCB2006?
|
Try changing your linker paths from $(BDS)\lib\debug to $(BDS)\lib\release
HTH
Jonathan |
|
| Back to top |
|
 |
Mark Jacobs Guest
|
Posted: Thu Feb 23, 2006 5:03 pm Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
"Andrue Cope [TeamB]" <no.spam (AT) not (DOT) a.valid.address> wrote in message
news:43fd8655$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Simon Farmer wrote:
What a pain in the arse, any ideas why Borland have removed another
useful piece of code?
Nope.
|
Have they even tried debugging something themselves before they released
BDS2006? This is a real step backwards, IMO.
--
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk |
|
| Back to top |
|
 |
John Grabner Guest
|
Posted: Thu Feb 23, 2006 8:03 pm Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Andrue Cope [TeamB] wrote:
| Quote: | Simon Farmer wrote:
What a pain in the arse, any ideas why Borland have removed another
useful piece of code?
Nope.
Added to QC 25318. |
John. |
|
| Back to top |
|
 |
Simon Farmer Guest
|
Posted: Fri Feb 24, 2006 12:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
| Quote: | Try changing your linker paths from $(BDS)\lib\debug to $(BDS)\lib\release
|
Good idea, but it was a simple switch in BCB6.
Simon |
|
| Back to top |
|
 |
Andy Walker Guest
|
Posted: Sat Feb 25, 2006 2:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
If you set your debug configuration to use $(BDS)\lib\debug and your release
configuration to $(BDS)\lib\release then it is still a simple switch in
BDS2006 :)
Andy
"Simon Farmer" <simon-farmer@first-degree-systems.com> wrote in message
news:43fe422a (AT) newsgroups (DOT) borland.com...
| Quote: |
Try changing your linker paths from $(BDS)\lib\debug to
$(BDS)\lib\release
Good idea, but it was a simple switch in BCB6.
Simon
|
|
|
| Back to top |
|
 |
Mark Duncan (Borland) Guest
|
Posted: Sat Feb 25, 2006 3:03 am Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Simon,
Just don't link with the debug versions of VCL libs -
Project | Options
Select debug build configuration (if it isn't already)
Linker | Paths and Directories
Change $(BDS)\lib\debug to $(BDS)\lib\release.
HTH,
Mark Duncan
Borland
"Simon Farmer" <simon-farmer@first-degree-systems.com> wrote in message
news:43fd7482 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
In BCB6 you could specifiy if you wanted to have bug information for the
VCL libraries. In BCB2006 I can't find the option. If you include debug
information the debugger always tries to step into the memory allocation
routines which is a pain as it constantly steps into system.pas or the cpu
window. :
Is there away to specify debugging just for your own files in BCB2006?
Thanks
Simon
|
|
|
| Back to top |
|
 |
Simon Farmer Guest
|
Posted: Sat Feb 25, 2006 5:03 pm Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
| Quote: | Just don't link with the debug versions of VCL libs -
Project | Options
Select debug build configuration (if it isn't already)
Linker | Paths and Directories
Change $(BDS)\lib\debug to $(BDS)\lib\release.
|
Ok thanks but it used to be a simple check box in previous versions. :(
Simon |
|
| Back to top |
|
 |
Jeff Overcash (TeamB) Guest
|
Posted: Sat Feb 25, 2006 7:03 pm Post subject: Re: How to Debug without VCL debugging in BCB 2006 |
|
|
Simon Farmer wrote:
| Quote: | Just don't link with the debug versions of VCL libs -
Project | Options
Select debug build configuration (if it isn't already)
Linker | Paths and Directories
Change $(BDS)\lib\debug to $(BDS)\lib\release.
Ok thanks but it used to be a simple check box in previous versions.
|
It is almost a simple now. Make that change once and save that as a new
configuration and you can quickly switch to your Debug without Debug versions of
VCL. I agree that it would be nice to have a check box, but if you have to do
that every time it would be more tedious. With the new custom configuration
stuff you make the change once and then can select that configuration easily in
the future.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
This sad little lizard told me that he was a brontosaurus on his mother's
side. I did not laugh; people who boast of ancestry often have little else
to sustain them. Humoring them costs nothing and adds to happiness in
a world in which happiness is in short supply. (RAH) |
|
| Back to top |
|
 |
|