Solved

Debuggin datasnap application server

Posted on 2004-05-02
9
402 Views
Last Modified: 2010-04-05
I have:
- Delphi 7 Enterprise
- Windows 2000 prof.
- Datasnap application server and client on the same machine
- Borland Socket server

How can I debug the functions that exists in the application server?

when I run the application server from Delphi IDE, and I run clients executables, the clients open a new instance of the application server, and no one use my applicaiton server that ready to be debuged in Delpih IDE :(

Please heeeeeeeeeeeeeeeeeeelp
Motaz

0
Comment
Question by:Motaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10971074

  Run / Attach to Process....
0
 
LVL 7

Author Comment

by:Motaz
ID: 10971108
which process, and what then?

Motaz
0
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 150 total points
ID: 10971116
Hello Motaz

  First Create Project group that contian the Server App and client, then from project menu choose "compile all projects"

Second, go project manager, make the server app as default place your break point there, then choose run

back to project manager again, and make the client app the default, run it, and when you call any method on the server, it should be stopped where you placed the break points

HTH

Regards
Mohammed
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10971570

   Okay, here is the routine :

   Open Delphi and there - the server. Build / Register. Then in Run/Parameters for Host application put C:\WinNT\system32\dllhost.exe (C:\Windows for XP users). Make sure you have debug info. Put the break points and run it.

   Run the client application and when you come the break line it should stop.
0
 
LVL 7

Author Comment

by:Motaz
ID: 10978887
Nasman,
the same thing happens, I tried new project, when I run client, it launches new instance of the server.

Ivanov, I'm still cann't udernstand where can I do that, can you explain for clearly

Motaz
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 10983767
mmm, that's strange

try to build a new test app with one method and test it, if it's fail again, send it to my email and i will have a look for it
0
 
LVL 7

Author Comment

by:Motaz
ID: 10993650
Two files has been sent to Mohamed Nasman Almutkhalif
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 10993939
Motaz, I tested the projects u sent to me, it's working fine and the server stop at the break points

Did you change anything in Delphi options or in debugging?

or you made anything 3'abi :p
0
 
LVL 7

Author Comment

by:Motaz
ID: 10994091
Thanks Mohammed Nasman, it works fine in another computer, really you are good and Mutkhalif

Motaz
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question