cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Debug

fabio_bellocchio
Participant
0 Kudos

Dear SDN,

please, has anybody already seen this problem: the debug doesn't stop in the breakPoint.

It's everything right. I had already done it many times before, but now I just can't debug. My NWDS is 2.0.18, same as the server.

When I fire the action that should reach the breakpoint, Developer Studio is called, it seems that is going to work fine, but the line of the breakpoint doesn't get selected, and nothing happens.

I would appreciate any kind of help!

Thank you!

Accepted Solutions (1)

Accepted Solutions (1)

former_member186016
Active Contributor
0 Kudos

In the Debug Perspective, you will se the view where the threads are listed.

Can you check if the Main thread is suspended and control stops at the break point.

Click on the top-most thread suspended. Your line will get high lighted.

Check if this works.

Regards,

Ashwani Kr Sharma

Answers (6)

Answers (6)

fabio_bellocchio
Participant
0 Kudos

Actualy it hasn´t been solved.

But the problem is intermitent.

Former Member
0 Kudos

Fabio, I've had similar situations where I put in a breakpoint and it didn't stop. In my case it was because I had a different version of code locally than what was deployed on the server.

This may not be the problem at all but it's worth a try. Sync all your code, build and deploy your code. Then set the breakpoint in wdDoInit in the controller (as someone suggested above) and try debugging again.

Lastly, excuse me for asking but sometime the problem is something so obvious it's overlooked...Is it possible the server could have been taken out of debug mode? Wouldn't hurt to check that and make sure.

Good luck

fabio_bellocchio
Participant
0 Kudos

Hi David,

thank you!

The server appears to me running in Debug Mode (I only can see it in the NWDS).

Anyway, I can start the debug, so I think it's running in Debug mode.

Moreover, once in the wdDoInit, I always reach the breakpoint.

The problem happens in some Methods.

Well, I'm trying to build the code before debugging, as you said..

Thank you!

Former Member
0 Kudos

Hi

Stop if any one using same application and Restart server .

it will work

Regrards

Ravi

Former Member
0 Kudos

Fabio. Are you trying to debug this using your local J2EE engine or on a server?

Has the engine been set to debug mode?

fabio_bellocchio
Participant
0 Kudos

Hi David,

I'm using the server J2EE engine.

tks

Former Member
0 Kudos

To me it seems to be a load balancing issue. Do you have multiple server nodes in the instance? If that is so, all server nodes are not being updated correctly with your deployment and you happen to debug on that node which is not updated.

Temporary solution is to switch off all server nodes except one, deploy to it and debug.

If my guess is right, then look for relevant patches/updates to your server.

P.S: Restart of Studio often solves many such issues too.

Let me know if I'm correct.

Thanks,

Rajit

fabio_bellocchio
Participant
0 Kudos

Hi Rajit,

the basis team told me that it's not a multiple nodes or load-balanced environment.

In fact, there are only 3 entrances in the servers perspective of the NWDS.

- dispatcher

- SDM

- server0

Maybe the problem is that I'm in an external network, linked through proxie servers. I don't know. Do you think it might be the problem?

Thanks!

Former Member
0 Kudos

HI Fabio,

Just try putting your breakpoint in the very beginning, say in WDDoInit() method and just see can you reach that breakpoint.

Regards,

Murtuza

Former Member
0 Kudos

Fabio,

I'm pretty sure its because the server does not know the latest code i.e deployment issue.

Try as suggested by Murtuza, and if it doesnt work, then try this. Start debugging and while in the session, deploy your DC. This should atleast make sure the server has the latest update.

If that doesnt work too, and if there's no issue with the server, you might have to reinstall your studio.

Hope that helps.

Rajit

fabio_bellocchio
Participant
0 Kudos

Hi Murtuza,

once in the wdDoInit, I always reach the breakpoint.

The problem happens in some Methods, but I don't know why.

tks

Former Member
0 Kudos

make sure that in your Settings the correct debugging user is set:

Utilities->Abap_Editor->Debugging

Try to turn off and then on the BREAK-POINT

fabio_bellocchio
Participant
0 Kudos

Hi Kanwalpreet,

it's Java WebDynpro!

Thanks..