CompuServe Thread

#Debugger

5 messages in this thread
#12333From: Mike LawrenceOct 4, 1989 12:03 AM
I seem to be having trouble getting the debugger to find .mod and .rfm files anywhere besides the current directory. I can get it to find .sbm files in m2l:. I have the Source Dir list set to fh0:user/benchmark/generic,fh0:user/benchmark/ifflibsrc and Symbol Dir list set to that plus ",m2l:". I have the .mod,.def, and rfm files in the generic and ifflibsrc directories, and .obm and .sbm in the m2l: directory. Do you have any hints at to what I am doing wrong? Also, I notice that I get the error handler window with an "Illegal Instruction" error if I run from the debugger and call "InstallErrorHandler" in my program. It runs OK outside the debugger, and fine from the debugger if I remove the "InstallErrorHandler" call. Thanks for your help. Mike
#12334From: Avant-Garde SoftwareOct 4, 1989 12:22 AM
Mike: The debugger has two options 'Set Symbol Directory List' and 'Set Source Directory List' which allow you to specify a list of directories to search for source and symbol and reference files. The RunTimeErrors module can not be used with the debugger since it tries to take over the tasks exception handling routines. However, the PMD module is a replacement for the RunTimeErrors module. BTW, how is your project moving along? >> Leon Frenkel <<
#12349From: Mike LawrenceOct 4, 1989 10:01 PM
I set the directories with those commands, but it still isn't finding the mod or .rfm files anywhere but the current directory. I played around with it quite a while, but I can't figure out what I'm doing wrong. Is there some sort of checking of the .obm dates with the .mod dates that could keep if from finding the .mod files? (I had the "Check .mod dates" thing turned on at first, and tried turning it off, but that didn't seem to help either). Perhaps I'm entering the directories in the wrong format, or perhaps a / is needed on the end of each entry in the list? As for my project, one mode of operation works fine, the other is proving more difficult than I thought to get it to be reliable enough for a commercial product. In the mean time I'm working on another project that is coming along well. Thanks for the prompt reply. Perhaps you could give an example of the correct format of the entries in the directory search list. I didn't see one in the manual. Mike.
#12354From: Avant-Garde SoftwareOct 5, 1989 12:00 AM
Mike: Sorry to hear you've had some trouble getting multi-directory search to work. But, there are two possible reasons for the problem. The "Check .MOD dates" option make need to be disabled and directory names should be in the following format "df0:" , "h:srcDir/" or "h:sym1/;df1:sym2". A name must always end in a ":" or "/" character and multiple names are seperated by a ";" character. I used this feature extensively during the development of the debugger so I know it works. Hope this helps… >> Leon Frenkel << p.s. Best of luck with your project! Let me know when you get it close to completion.
#12397From: Mike LawrenceOct 6, 1989 8:54 PM
I have it working now. I was missing the ending / on my path names. I'm using , to separate the entries, and that seems to work also. I didn't see anything about the / in the manual, but maybe I didn't read enough of that section. Thanks for your help. Mike