User forums > Using Code::Blocks
Can't set Host application for debugging DLL
(1/1)
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.
DanRR:
The Python path. the exact setting is:
--- Code: ---"C:\Python27\python X:\projects\can\can_key\python\test\test.py"
--- End code ---
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.
DanRR:
Thanks!
Navigation
[0] Message Index
Go to full version