Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not being able to debug in debug nor release mode #134

Open
GoogleCodeExporter opened this issue Jan 22, 2016 · 1 comment
Open

Not being able to debug in debug nor release mode #134

GoogleCodeExporter opened this issue Jan 22, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Connect in debug mode (Debugging)
2. Connect in release mode (Debugging)

What is the expected output? What do you see instead?
Jabber client immediately disconnects after a connection. I have already tried 
changing the Debug.Assert(map.TryGetValue(value, out val));

What version of the product are you using? On what operating system?
2.1.0.710, Windows Vista

Please provide any additional information below.
I am only using the 2005-jabber-net.csproj and netlib.dns.csproj projects. 
When trying to debug I get disconnected immediately after calling Connect 
method.

I have checked what I receive in the handler "m_stream_OnReadText":

<?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client" from="my-openfire-server" id="7235f6b6" xml:lang="en" 
version="1.0">
<stream:features>
    <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
        <mechanism>DIGEST-MD5</mechanism>
        <mechanism>PLAIN</mechanism>
        <mechanism>ANONYMOUS</mechanism>
        <mechanism>CRAM-MD5</mechanism>
    </mechanisms>
    <compression xmlns="http://jabber.org/features/compress">
        <method>zlib</method>
    </compression>
    <auth xmlns="http://jabber.org/features/iq-auth"/>
    <register xmlns="http://jabber.org/features/iq-register"/>
</stream:features>

<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

<?xml version='1.0' encoding='UTF-8'?>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client" from="my-openfire-server" id="7235f6b6" xml:lang="en" 
version="1.0">
<stream:features>
    <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
        <mechanism>DIGEST-MD5</mechanism>
        <mechanism>PLAIN</mechanism>
        <mechanism>ANONYMOUS</mechanism>
        <mechanism>CRAM-MD5</mechanism>
    </mechanisms>
    <compression xmlns="http://jabber.org/features/compress">
        <method>zlib</method>
    </compression>
    <auth xmlns="http://jabber.org/features/iq-auth"/>
    <register xmlns="http://jabber.org/features/iq-register"/>
</stream:features>

<compressed xmlns='http://jabber.org/protocol/compress'/>

After this, I get disconnected.

Original issue reported on code.google.com by [email protected] on 8 Mar 2013 at 6:05

@GoogleCodeExporter
Copy link
Author

The operative system is Windows 7, not Windows Vista.
The same sample works fine from Windows XP.

Original comment by [email protected] on 8 Mar 2013 at 6:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant