?
Solved

Debuggin datasnap application server

Posted on 2004-05-02
9
Medium Priority
?
406 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 600 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
Technology Partners: 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 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