Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Debugger/Remote Debugging    [ Add a report in this area ]  
Report #:  61360   Status: Closed
I'm unable to see the source files
Project:  C++Builder Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Guillermo Fernandez
Report Type:  Basic functionality failure Date Reported:  4/24/2008 3:04:03 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   265305
Resolution: Retest (Resolution Comments) Resolved in Build: : 14.0.3492.23504
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 7
Description
Hello,
Well, my problem is with the Remote Debugging in C++Builder 2007 (December 2007 and Febrary 2008 Help Updates).
I'm unable to see the source files on the local IDE.
I'm using the Load Process option. The remote process is loaded without problems and I can execute it, but I can't debug it. In my local IDE I see only the CPU view.
It seems that no symbol tables is loaded. On the modules view, I don't see any 'debug' symbol.
I've changed all the 'Debug symbol search path' that I've found in the IDE, without results.
I've updated the remote debugger in the remote machine. The connection between both systems is ok.

Any Idea?
Thanks in advance.
Steps to Reproduce:
Run | Load Process | Remote
Specify the Remote path, the Remote host and the Working directory.
The Execute startup code on load checkbox has not influence.
Press the load button.
The process is loaded properly but no access to the source files, only the cpu view is allowed.
Workarounds
None
Attachment
None
Comments

Markus Humm at 4/24/2008 4:02:29 AM -
What options did you used when you compiled your app? Has it included debugging symbols of any sort?

Guillermo Fernandez at 4/24/2008 4:05:18 AM -
Yes, of course. The project is build with the debug configuration.
I've copied also the .tds file to the remote machine.

Tomohiro Takahashi at 5/6/2008 5:33:06 AM -
Did you include 'remote debug symbol' when compilation?

Tomohiro Takahashi at 5/6/2008 5:35:15 AM -
Instaed of 'Load Process option', please try steps as below.
1. start remote debugger on remote host
2. start target process on remote host
3. attach to the process from your host using IDE

Lawrence Chung at 5/26/2008 2:13:08 PM -
Hi,

I am seeing the same issue.  My remote machine and debug machine are running on WinXP Professional (32 bits).

I have tried the "Load Process" and "Attach Process" method, and in both cases when the debugger is attached to the remote machine the following is output from the event log window:

Module load: XXX.exe.  No debug info ...

I have copied my .TDS file and the .EXE to the same directory on the remote machine (C:\MyTest).  I have added "C:\MyTest" into the debug symbols search path, the working directory path, and the remote path. In the Linker option for the project there is no "Include remote debug symbols" option, but "Full debug information" is selected.

I am using C++ Builder 2007 R2 Version 11.0.2902.10471.  My application is a non-VCL multi-threaded console application developed in C++.  The remote debugger kernel installed on the remote machine is version 105.8.29.11891.

Soren Seyfert at 7/18/2008 5:24:27 AM -
We have accurately the same problem as Mr. Lawrence Chung
Pleace help us!!!

Tomohiro Takahashi at 7/20/2008 12:05:51 AM -
Could you please contact technical support?

Tomohiro Takahashi at 7/20/2008 7:14:22 PM -
Project field and Build No were modified properly by Sysop.

Soren Seyfert at 7/21/2008 12:01:13 AM -
Which Build No do you mean?
C++ Builder 2007 R2 Version: 11.0.2902.10471
Remote Debugger: 105.11.1.12533
Win XP: Version 5.1 Build2600xpsp_sp2_gdr.070227-2254:Service Pack 2

Tomohiro Takahashi at 7/21/2008 11:11:39 PM -
Thanks for updating your information.

Soren Seyfert at 7/23/2008 11:21:33 PM -
Can you reproduce our problem?

Soren Seyfert at 8/26/2008 12:15:06 AM -
For more information i would send you my simple test project. But i can't send a attachment to this report.

Stuart Street at 8/26/2008 4:49:11 PM -
I am experiencing the same problem with the remote debugger. I am using the attach to process method. I can debug the process running locally with no problems.

C++Builder® 2007 R2 Version 11.0.2987.10779
RemoteDebugger 105.11.1.12533
Windows Server 2003 R2 Version 5.2 R2 (Build 3790.srv03_sp2_gdr.070304-2240 : Service Pack 2)

Matthias Eissing at 9/12/2008 12:26:52 AM -
Set the registry value „Disable Multiple Evaluators” in the Windows Registry under the hive
HKEY_CURRENT_USER\Software\Borland\BDS\5.0 Debugging\Borland Debuggers
from "1" to "0"

(This applies only to C++Builder 2007; RAD Studio 2007 with C++Builder Personality is not affected)

Lawrence Chung at 2/3/2009 1:54:40 PM -
After updating the registry settings as specified by Matthias the remote debugger is working properly.  My version of RAD Studio is:

CodeGear™ C++Builder® 2007 R2 Version 11.0.2902.10471

Is there any plan on future update / patch for C++ Builder 2007 that includes the fix to this issue?  I do not know how many users are affected by this issue.


Stuart Street at 9/14/2008 5:16:51 PM -
Thank you Matthias,

This has fixed the issue for me.

Tomohiro Takahashi at 9/12/2008 7:48:09 AM -
Indeed, I have encountered this strange phenomenon as a technical support case.
The registry value may be changed unexpectedly.
But, I do not know exactly how to reproduce it. Maybe it is related to 'Applying Updates'.

Server Response from: ETNACODE01