string.Replace?

Jul 18, 2011 at 8:56 PM

Hello , Every time I use string.Replace in my OS I get this error when I run it

*** System Fault ***   Invalid Opcode at 0x000003D5

I have used string.Replace before. Also is there any way to look at the IL code the

your compiler compiles?

Coordinator
Jul 18, 2011 at 11:16 PM
> Hello , Every time I use string.Replace in my OS I get this error when I
> run it
>
> *** System Fault *** Invalid Opcode at 0x000003D5
>
> I have used string.Replace before. Also is there any way to look at the
> IL code the
>
> your compiler compiles?

You can look in the .asm output file. The IL appears in comments. Or you
can use dev kit and use the asm window.
Coordinator
Jul 19, 2011 at 6:33 AM
It's most likely the String.Replace overload you're using is not plugged, and therefore using something unsupported, which causes a stack corruption, and then in the end returning to a wrong location (most of the time this happens).

Now the good news: we're working on an assembly-level debugger, integrated with VS, which makes hunting these things down much more easy...


On Tue, Jul 19, 2011 at 1:16 AM, kudzu <notifications@codeplex.com> wrote:

From: kudzu

> Hello , Every time I use string.Replace in my OS I get this error when I
> run it
>
> *** System Fault *** Invalid Opcode at 0x000003D5
>
> I have used string.Replace before. Also is there any way to look at the
> IL code the
>
> your compiler compiles?

You can look in the .asm output file. The IL appears in comments. Or you
can use dev kit and use the asm window.

Read the full discussion online.

To add a post to this discussion, reply to this email (Cosmos@discussions.codeplex.com)

To start a new discussion for this project, email Cosmos@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com