Community
Participate
Working Groups
Build Identifier: M20100909-0800 I tried debugging a simple makefile project. I am unsuccessful in creating a debug session from eclipse. Please let me know what is going wrong. I dont see anything logged inside the errorlog. Reproducible: Always Steps to Reproduce: 1- I have downloaded the eclipse for hpux and installed on a hpux machine. I am able to create a makefile project and execute it. (Fig: execute.jpg) 2- I am following the below mentioned steps to debug the binary created, a- Right click on the binary created(here it is test) --> Debug as --> Local C/C++ Application b- 'Launch Debug Configuration Selection' window comes up. I have selected 'gdb/mi' option is selected.(Fig: before_starting_debug.jpg) c- Debug is not starting and it looks debug process is hung. (Fig: debug.jpg)
Created attachment 187947 [details] execute.jpg
Created attachment 187948 [details] before_starting_debug.jpeg
Created attachment 187949 [details] debug.jpeg
I am unfamiliar with hpux. The screenshots you attached look like Windows. Can you describe your setup a bit? Are you compiling remotely? In the third screenshot, it is strange that you don't have anything in the error log. You should at least get an info message from the indexer 'Indexed 'test' ...' I see some other strangeness in this image, maybe this is a drawing problem? Can you debug fine in Java? I notice in your first screenshot that the includes are unresolved so the toolchain is probably not detected. What toolchain are you using? Cygwin GCC? MinGW GCC? Linux GCC? If the toolchain is not detected properly, then the built-in includes paths and symbols will not be setup and the index will not be accurate. This will limit features such as content assist. Is the folder that contains GDB in the PATH variable? Also, which launcher are you using? You can see that in Debug Configurations, at the bottom of the dialog, you should see "Using GDB (DSF)..." or something else.