473,387 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Call Stack is empty, form hung up, CPU is not busy

Hi,

I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L
Jun 25 '07 #1
6 2904
On Jun 25, 1:59 pm, "Ryan Liu" <RyanLiu...@yahoo.comwrote:
I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?
It would really, really help to have some code here...

Could you post a short but complete program which demonstrates the
problem?
See http://pobox.com/~skeet/csharp/complete.html for what I mean by
that.

Jon

Jun 25 '07 #2
Hi,

Weird, At least you should have one entry in the Call Stack.

What you mean it hangs?

It seems u have only one form, if so you should not need to call Show();

can you post your code? (please remove ALL windows generated code)

"Ryan Liu" <Ry********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L


Jun 25 '07 #3

"Ryan Liu" <Ry********@yahoo.comдÈëÓʼþ
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L

Not just ccall stack is empty. In Debug-Threads window, I see a thead with
highest priority and no name, no location. Suspend =0. I think this thread
is created by .NET framework itself, maybe to paint the form.

Thanks,
R L
Jun 25 '07 #4
This is part of my huge solution.

I did write some small test progam, it works fine.

So I have no code to post for now ...
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comдÈëÓʼþ
news:eG*************@TK2MSFTNGP05.phx.gbl...
Hi,

Weird, At least you should have one entry in the Call Stack.

What you mean it hangs?

It seems u have only one form, if so you should not need to call Show();

can you post your code? (please remove ALL windows generated code)

"Ryan Liu" <Ry********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is
empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L


Jun 25 '07 #5
I believe that was what happen:

Your form calling an item that is not in your PC (different location ??) or
you have no correct right on that item, or something wrong with your
framework.

--
cheers,
RL
"Ryan Liu" <Ry********@yahoo.comwrote in message
news:en**************@TK2MSFTNGP03.phx.gbl...
This is part of my huge solution.

I did write some small test progam, it works fine.

So I have no code to post for now ...
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.comдÈëÓʼþ
news:eG*************@TK2MSFTNGP05.phx.gbl...
>Hi,

Weird, At least you should have one entry in the Call Stack.

What you mean it hangs?

It seems u have only one form, if so you should not need to call Show();

can you post your code? (please remove ALL windows generated code)

"Ryan Liu" <Ry********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

I have a form, with some user control in it, usually hung up when I
call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is
empty!
>
And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L




Jun 25 '07 #6
Ryan Liu wrote:
Hi,

I have a form, with some user control in it, usually hung up when I call
form.Show().

I debug to there, I found in Visual Studio 2003, the call stack is empty!

And CPU is not busy at all.

Can anyonoe give me idea about what is happening?

Thanks a million1
R L
Hi,
Can anyonoe give me idea about what is happening?
You'll have to give us a bit more information! The call stack being empty
sounds weird, it may be because you've delved into native code (perhaps).
What is the nature of your application, and are you making an P/Invoke
calls?

--
Tom Spink
University of Edinburgh
Jun 25 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

39
by: Randell D. | last post by:
Folks, I'm sure this can be done legally, and not thru tricks of the trade - I hope someone can help. I'm writing a 'tool' (a function) which can be used generically in any of my projects. ...
4
by: alisaee | last post by:
plz check what i have made wrong what is requierd her is to creat class queue and class stack and run the push,pop operation . #include<iostream.h> #include<conio.h> #include<stdio.h> class...
5
by: srikanth | last post by:
is it possible not to decrement the top variable after we remove(or retreive) a file from a stack >MY IDEA is:> if top is not decremented the stack is like it has some files existing in it with...
2
by: Christopher Carnahan | last post by:
I need to figure out how to terminate a thread while it is blocked trying to create a COM object via interop. In a worker thread, I do something like this: Type t = null; Object...
24
by: John | last post by:
I know this is a very fundamental question. I am still quite confused if the program call stack stack should always grows upwards from the bottom, or the opposite, or doesn't matter?? That means...
11
by: KRUNOPOPOVIC | last post by:
Hello, This code give me "deque empty before pop" error with visual c++ express in debug configuration mode. Why poping empty stack doesn't throw exception ? Uncommenting the line solves...
3
by: xr0krx | last post by:
Hi, Im having some problems with my program. I'm kinda new to this stuff; only been doing this for about a month. What it's suppose to do is ask the user to input a word, and then print out the word...
0
by: Ken Snyder | last post by:
hi, i have a situation here: i have a application with a form on which you can click on a button and it will open you a savedialog where you enter a path and save some filestream context to a...
1
by: John Saunders | last post by:
"Joseph Geretz" <jgeretz@nospam.comwrote in message news:ehHM86fDJHA.4428@TK2MSFTNGP06.phx.gbl... I would suggest that you get Reflector and take a look at the code. But I bet it calls you...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.