News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Can't set Host application for debugging DLL

Started by DanRR, September 12, 2015, 05:31:28 PM

Previous topic - Next topic

DanRR

Hi,
I'm using CB 10474 on XP(on VM). GDB version is 7.6.1.
I'm trying to set Python script as Host application for DLL project.
When starting the debugger I'm getting "Starting the debuggee failed: No executable specified, use `target exec'."
When running (green arrow) it runs fine.
When starting the debugger from CPP host project, I can debug the DLL.

Thanks

oBFusCATed

What are you setting as host app the path to your script or the path to python.exe?
It should be the latter, gdb doesn't know how to launch a python script.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

DanRR

The Python path. the exact setting is:
"C:\Python27\python X:\projects\can\can_key\python\test\test.py"
I've tried it also with a double backslash.

oBFusCATed

This is not correct.
Set C:\Python27\python in the host application path widget.
And then set X:\projects\can\can_key\python\test\test.py in the program arguments widget.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

DanRR