I wanted to debug a data module that I've created and which is a part of a DLL, but for some reasons, I can't debug it. The debugger doesn't seems to be hitting the break point, is there a way i can debug my Dll/ data module.
can't debug datamodule in DLL at application server delphi
171 views Asked by Nancy Gupta At
2
There are 2 answers
0

Check list:
- be sure your DLL have included debug info
- if it's COM DLL - be sure it is registered on same place where you build it
- try to rebuild the DLL, rebuild the App if you have changed the interface
- check in EventLog when debugger loads the DLL does it says it have or dont have debug info.
Related Questions in DELPHI
- @Value annotation not resolved in a class that belongs to dependency jar
- How to use annotorious with angular
- Annotator dependencies: UIMA Type Capabilities?
- Symfony2 - Custom annotation loading
- What is the point of the name method in the symfony2 annotation?
- Only display annotations within visible mapview area
- Java annotation: validating primitives inside a list via an annotation
- Can't get custom annotation to work within test context using spring boot
- Technical debt on custom web rule in sonarqube 5.1
- Python - Add annotation in subplot imshow
Related Questions in DEBUGGING
- @Value annotation not resolved in a class that belongs to dependency jar
- How to use annotorious with angular
- Annotator dependencies: UIMA Type Capabilities?
- Symfony2 - Custom annotation loading
- What is the point of the name method in the symfony2 annotation?
- Only display annotations within visible mapview area
- Java annotation: validating primitives inside a list via an annotation
- Can't get custom annotation to work within test context using spring boot
- Technical debt on custom web rule in sonarqube 5.1
- Python - Add annotation in subplot imshow
Related Questions in DLL
- @Value annotation not resolved in a class that belongs to dependency jar
- How to use annotorious with angular
- Annotator dependencies: UIMA Type Capabilities?
- Symfony2 - Custom annotation loading
- What is the point of the name method in the symfony2 annotation?
- Only display annotations within visible mapview area
- Java annotation: validating primitives inside a list via an annotation
- Can't get custom annotation to work within test context using spring boot
- Technical debt on custom web rule in sonarqube 5.1
- Python - Add annotation in subplot imshow
Related Questions in APPLICATION-SERVER
- @Value annotation not resolved in a class that belongs to dependency jar
- How to use annotorious with angular
- Annotator dependencies: UIMA Type Capabilities?
- Symfony2 - Custom annotation loading
- What is the point of the name method in the symfony2 annotation?
- Only display annotations within visible mapview area
- Java annotation: validating primitives inside a list via an annotation
- Can't get custom annotation to work within test context using spring boot
- Technical debt on custom web rule in sonarqube 5.1
- Python - Add annotation in subplot imshow
Related Questions in DATAMODULE
- @Value annotation not resolved in a class that belongs to dependency jar
- How to use annotorious with angular
- Annotator dependencies: UIMA Type Capabilities?
- Symfony2 - Custom annotation loading
- What is the point of the name method in the symfony2 annotation?
- Only display annotations within visible mapview area
- Java annotation: validating primitives inside a list via an annotation
- Can't get custom annotation to work within test context using spring boot
- Technical debt on custom web rule in sonarqube 5.1
- Python - Add annotation in subplot imshow
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
To debug the DLL, the project loaded in Delphi must be the DLL itself. You enter a host application (Your application server executable), the one which will load the DLL. Make sure the host application load the DLL exactly where you have built it. You cannot move the DLL once constructed.
If the DLL must be in some fixed place, be sure to set the DLL's project options so that the DLL is produced at the right place.
And of course you must activate the debug build configuration for the DLL.
Using a tool such as ProcessExplorer (
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer
), you can see if the DLL you built was actually the one loaded by your application server.