# Breakpoints in Eclipse

**URL:** <https://discuss.elastic.co/t/breakpoints-in-eclipse/28507>\
**Category:** Elasticsearch\
**Created:** [September 2, 2015, 9:43am UTC](https://discuss.elastic.co/t/breakpoints-in-eclipse/28507 "2015-09-02T09:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xam](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xam](https://discuss.elastic.co/u/xam)\
**Post date:** [September 2, 2015, 9:43am UTC](https://discuss.elastic.co/t/breakpoints-in-eclipse/28507/1 "2015-09-02T09:43:31Z")

</div>

I built ES from its sources and ran it in debug mode from Eclipse.  
I now want to add some breakpoints in order to understand how does ES work under the hood but some of them work and some others don't.  
For example, I can set a breakpoint in method handleRequest of org.elasticsearch.rest.action.search.RestSearchAction and I see that it stops when I run a query.  
But when I add some breakpoints in method hitExecute of org.elasticsearch.search.highlight.HighlightPhase, Eclipse does not stop if I run an highlighted query. I am pretty that this method is called because it throws an Exception that I can see in logs if I run an incorrect query.  
Has anybody ever encountered this problem?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/breakpoints-in-eclipse/28507/2 "2017-07-05T23:52:39Z")

</div>

Closed on July 5, 2017, 11:52pm UTC


