Skip to content

Commit

Permalink
Merge pull request #2439 from telefonicaid/AlvaroVega-patch-1
Browse files Browse the repository at this point in the history
Update debugging.md
  • Loading branch information
fgalan authored Nov 13, 2024
2 parents 3f4d365 + 39de2cc commit c1ff4d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/cygnus-ngsi/user_and_programmer_guide/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,18 @@ Warning: JAVA_HOME is not set!
Listening for transport dt_socket at address: 6006
```

## Attaching java jdb debugger
## Attaching java jdb debugger and set a breakpoint
```
jdb -attach 127.0.0.1:6006
```
```
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...
>
> stop in com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend
Set breakpoint com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink.getPersistenceBackend
> run
Nothing suspended.
```

## Attaching IntelliJ debugger.
Expand Down

0 comments on commit c1ff4d6

Please sign in to comment.