0

This question just came up in a discussion and i am curious to know .

Is it possible to have a debugger that can debug 2 languages . For example . If i have Java program that references/opens/accesses/ a script (Perl or Python) then is it possible to have a debugger to be able to debug the Perl/Python script ?

Note : Logging is not an acceptable debugging technique here .

1 Answer 1

0

Yes, alter the host program (the java program ) so that it runs the perl program in a debugger

You might well run into problems with the way that debuggers "attach" in different programming language environments. perl -d assumes a tty is there for interactive commands whereas java does something completely different

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.