support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets

Veryant Knowledge Base
Home > All Categories > Debugging > How do I configure the debugger to find source code that is not in CLASSPATH?
Question Title How do I configure the debugger to find source code that is not in CLASSPATH?

My source code and objects are in different directories. I don't want to add the source directories to CLASSPATH. Is there another alternative to allow the debugger to find the source files?


Set the iscobol.debug_code_prefix property to a list of directories that contain your source code. The directories must be separated by the "\n" character sequence. Also, remember to use double-backslashes on Windows. 

Since the iscobol.debug_code_prefix is a property used by the debugger itself, set it on the java command line before the GraphDebugger class as in:

java -Discobol.debug_code_prefix=c:\\p1\\p2 com.iscobol.debugger.GraphDebugger -Discobol.conf=FILENAME PROGRAM 

Or if you are using iscrun -d then set it in the environment. For example:

set debug_code_prefix=c:\\p1\\p2 
iscrun -d -Discobol.conf=FILENAME PROGRAM
Authored by: Veryant Support This question has been viewed 5740 times so far.
Click Here to View all the questions in Debugging category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I set things up to remote debug just one program when the server executes it?
  2. Why do I get "File not valid" when I run the debugger?
  3. How do I specify isCOBOL, Java or application properties on the command line?
  4. Starting a new trace log file for the current run unit
  5. How to tell the Debugger to pause with a different key than the Pause key?
  6. Did you know you can see the content of variables while debugging?
  7. Did you know how to show variables in Debugger using a tree structure?
Article Information Additional Information
Article Number: 74
Created: 2009-09-02 12:57 PM
Rating: No Rating
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
Search Knowledge Base Search Knowledge Base


© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.