Yep, that was the problem.  I'd only worked with Eclipse in the past, so I 
didn't realize that there was such a thing as a breakpoint that suspends 
all threads.  Turns out that this is the default in IntelliJ, and can be 
changed in the breakpoint properties.  Thanks Thomas.

On Friday, October 11, 2013 2:47:23 AM UTC-7, Thomas Mueller wrote:
>
> Hi,
>
> There are two types of breakpoints: those that only pause the current 
> thread (in Eclipse this is the default), and those that pause all threads. 
> You might want to check which type your breakpoint is.
>
> Other than that, I'm not sure what could be the problem.
>
> Regards,
> Thomas
>
>
>
> On Fri, Oct 11, 2013 at 2:07 AM, Boris Burtin <[email protected]<javascript:>
> > wrote:
>
>> I'm debugging a unit test and would like to query my in-memory database 
>> while the debugger (IntelliJ IDEA, in case it matters) is stopped at a 
>> breakpoint.  Before I hit the breakpoint, I start my web server with
>>
>> Server.createWebServer("-web", "-webAllowOthers", "-webPort", "8082", 
>> "-webDaemon").start();
>>
>> When I attempt to connect, the connection hangs until I tell the debugger 
>> to step to the next line.  Is this known behavior, or something that's 
>> wrong with my setup?  I figured that if I'm running the H2 server in daemon 
>> mode, it shouldn't matter if my main thread is suspended.  The TCP server 
>> has the same behavior.
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "H2 Database" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/h2-database.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to