Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Debugging

edited May 2002 in General
I'm sure I'm missing something obvious here, but how do I tell Delphi
that I want to use the files in Rbuilder\source for debugging purposes?
I've got an app that's throwing an exception when I try to print, but
since I'm using the files in Rbuilder\lib, I can't trace it.

Thanks,
Aaron.

Comments

  • edited May 2002
    Aaron,
    just include the source path of RB in the search path of your app
    cu
    marc

  • edited May 2002
    In article <3cdfefd5@dm500.>, Marc.Antheunis@XLentSolutions.Com says...

    That's what I tried, but it isn't working.

    With other packages, when the exception gets thrown, I will sometimes
    get the dialog box 'Can't find file foo.pas, do you want to find it
    yourself?', but I'm not getting that here. I have Stop on Delphi
    Exceptions checked, and I have the Rbuilder\Source dir on my search
    path, but when the exception gets thrown (somewhere in the Rbuilder
    code), I don't get to see in the debugger what's causing the problem.

    Thanks,
    Aaron.
  • edited May 2002
    Be sure to remove the RBuilder/Lib entry in the library path. Do you have
    multiple copies of the source on your machine? This problem can happen when
    you have the same version of the source in two places, and you have the
    breakpoint in the copy that is not in the library path. Perform a search
    for all RB source fiels, pp*.* on your drives. There is an article in the
    TechTips newsgroup in the Installation thread which shows how to find the
    files in order to cleanup a corrupt installation.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited May 2002
    In article <3ce00883$1@dm500.>, "Jim Bennett \(Digital Metaphors\)"
  • edited May 2002
    Hi Aaron,

    I would simply rebuild the application without runtime packages for
    debugging purposes.
    (looks like a pure Delphi question, no relation to ReportBuilder!)

    regards,
    Chris Ueberall;

This discussion has been closed.