cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Debugger, Cannot set breakpoints.

Former Member
0 Kudos

I write a simple program in ABAP like this below.

I want to set a break point on the Line WRITE 'HELLO'.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

When I do that, it says "you can only set breakpoints in active unchanges source.".

When I go to active the program, the system asks me to save the program and comes up with just the

REPORT Y_TABLES.

and the following lines are lost.

WRITE 'HELLO'.

WRITE 'WORLD'.

Can any one please let me know what I am doing wrong.. ?

Thx..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.

Answers (5)

Answers (5)

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.

try it.

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.

try it.

Former Member
0 Kudos

Enter your code. <b>Then SAVE. Then activate.</b>

You should then be able to add "Soft" break-points i.e via the menu in the ABAP editor.

Otherwise just code a hard break-point in your program.

Cheers

jimbo

Former Member
0 Kudos

break-point can not set write statement.

wrong logic.

REPORT Y_TABLES.

WRITE 'HELLO'.

WRITE 'WORLD'.

another way.

internal break-point.

external break-point.

example.

REPORT Y_TABLES.

WRITE 'HELLO'.

break-point.

WRITE 'WORLD'.

active and run.

now break point set.